Re: [wxpython-users] To wxPython developers
by Werner F. Bruhin other posts by this author
May 7 2008 9:03AM messages near this date
[wxpython-users] To wxPython developers
|
[wxpython-users] py2app Mac
Chester,
Chester wrote:
> Dear developers of wxPython, please visit this link:
> http://svn.wxwidgets.org/svn/wx/wxPython/trunk/wxPython/media.py.
> Since I don't have access to make the fix, I ask you to change the
> line
>
> if sys.modules.has_key('wxPython.wx'):
> to
> if 'wxPython.wx' in sys.modules:
>
>
> My proposal looks more clean and also Python 3.0 doesn't have the
> has_key() method anymore, so this will aid future headaches. ;)
>
I am not one of the wxPython experts, but I believe that all this is to
support the old style of imports. I doubt that many people are still
using this (although there is still a bit of stuff hanging around on the
wiki) and if they do they should anyhow switch over to the new namespace
stuff.
Good things for you to read:
http://wxpython.org/migrationguide.php
http://wiki.wxpython.org/wxPython%20Style%20Guide
http://wiki.wxpython.org/How%20to%20Learn%20wxPython
Werner
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chester
Werner F. Bruhin
Mariano Di Felice
Robin Dunn
Robin Dunn
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Chester
Tim Roberts
Chester
Werner F. Bruhin
Chester
|