newbie: where's the info about the new wxPython style?

Some time back I read an article somewhere about the new style class
of WxPython that described the transition from the old style:

  from wxPython.wx import *

to a new style where "import wx" is used.

Where is this article?

I am starting to write a new application based on wxPython and am wondering whether I should use the new style or the old one. Through google I found one message stating that some problems were still in the new style class way. Are these all resolved or should I wait for 2.5?

References:
http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/1799634

Thanks for your time

Pierre

Pierre Rouleau wrote:

Some time back I read an article somewhere about the new style class
of WxPython that described the transition from the old style:

    from wxPython.wx import *

to a new style where "import wx" is used.

Where is this article?

There is some in the demo in NewNamespace. (Dang! there's another one that got lost on the way to the Miscellaneous group.) On Windows it should also be installed in the docs dir as wxPackage.html.

I am starting to write a new application based on wxPython and am wondering whether I should use the new style or the old one. Through google I found one message stating that some problems were still in the new style class way. Are these all resolved or should I wait for 2.5?

References:
ActiveState Community - Boosting coder and team productivity with ready-to-use open source languages and tools.

That message is actually about a different problem (deriving from object to make new-style classes) and no I didn't implement a solution for it in 2.4.2.4 because as I came to understand it better I found that it would be a huge amount of work that I would rather just put into 2.5 instead.

As far as the new namespace goes, I expect that the final implementation in 2.5 will look almost the same from your perspective as the "renamer" modules in the wx package currently do, but until I get to that point I can't say for sure. A lot of people are already using it though and I havn't heard of any serious problems.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

A lot of people are already using it though and I
havn't heard of any serious problems.

The thing that finally kicked me into using the new namespace
was using code like this for my exception reporting:

  Get more information from tracebacks « Python recipes « ActiveState Code

The fun problem is that if you did an import *, you end up with
thousands of local variables.

Roger