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?
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?
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!