GetFirstGroup / GetNextGroup API different (broken?) in Phoenix

I have a working wxpy project that I’m trying to convert to Python 3 and wx Phoenix.

The code for using FileConfig now breaks–it appears that the API for ConfigBase & FileConfig’s GetFirstGroup and GetNextGroup have changed (and in ways that seem counterintuitive, too–perhaps there’s an error in the wrapper code?)

Can anyone provide any code using Config for Phoenix?

Thanks!

···


Joel Burton - joel@joelburton.com

Plone Consultant/Trainer - plonebootcamps.com
Advisory Board, Plone Foundation - plone.org/foundation

Board, San Francisco Sex Information - sfsi.org

GTalk/MSN: joel@joelburton.com, AIM/Y!:wjoelburton
Mobile/SMS: +1 415 513 2470

Joel Burton wrote:

I have a working wxpy project that I'm trying to convert to Python 3 and
wx Phoenix.

The code for using FileConfig now breaks--it appears that the API for
ConfigBase & FileConfig's GetFirstGroup and GetNextGroup have changed
(and in ways that seem counterintuitive, too--perhaps there's an error
in the wrapper code?)

It was an oversight. I'll reimplement the wxPython version of those methods this evening, and the Get*Entry methods too.

···

--
Robin Dunn
Software Craftsman

Thanks, Robin! So far, looking over the Phoenix code, I’m really impressed how nice and clear it looks.

···

On Thursday, April 11, 2013 6:25:05 PM UTC-7, Robin Dunn wrote:

Joel Burton wrote:

I have a working wxpy project that I’m trying to convert to Python 3 and

wx Phoenix.

The code for using FileConfig now breaks–it appears that the API for

ConfigBase & FileConfig’s GetFirstGroup and GetNextGroup have changed

(and in ways that seem counterintuitive, too–perhaps there’s an error

in the wrapper code?)

It was an oversight. I’ll reimplement the wxPython version of those
methods this evening, and the Get*Entry methods too.


Robin Dunn

Software Craftsman

http://wxPython.org

I see that r73811 checked in changes for this and that the buildbot made them. It looks like for ConfigBase, things have returned to the normal wxPython API for GetFirstGroup/GetNextGroup, but for FileConfig, it’s still the unintended GetFirstGroup(self, str, index) API.

Thanks!

J

···

On Thu, Apr 11, 2013 at 8:50 PM, Joel Burton joel@joelburton.com wrote:

Thanks, Robin! So far, looking over the Phoenix code, I’m really impressed how nice and clear it looks.

On Thursday, April 11, 2013 6:25:05 PM UTC-7, Robin Dunn wrote:

Joel Burton wrote:

I have a working wxpy project that I’m trying to convert to Python 3 and

wx Phoenix.

The code for using FileConfig now breaks–it appears that the API for

ConfigBase & FileConfig’s GetFirstGroup and GetNextGroup have changed

(and in ways that seem counterintuitive, too–perhaps there’s an error

in the wrapper code?)

It was an oversight. I’ll reimplement the wxPython version of those
methods this evening, and the Get*Entry methods too.


Robin Dunn

Software Craftsman

http://wxPython.org

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/zWU21EwxiF4/unsubscribe?hl=en-US.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


Joel Burton - joel@joelburton.com
Plone Consultant/Trainer - plonebootcamps.com

Advisory Board, Plone Foundation - plone.org/foundation
Board, San Francisco Sex Information - sfsi.org

GTalk/MSN: joel@joelburton.com, AIM/Y!:wjoelburton
Mobile/SMS: +1 415 513 2470

Joel Burton wrote:

I see that r73811 checked in changes for this and that the buildbot made
them. It looks like for ConfigBase, things have returned to the normal
wxPython API for GetFirstGroup/GetNextGroup, but for FileConfig, it's
still the unintended GetFirstGroup(self, str, index) API.

Thanks, I should have checked that.

···

--
Robin Dunn
Software Craftsman