I am fed up with Python GUI toolkits...

Ian Kelly ian.g.kelly at gmail.com
Wed Jul 20 09:02:19 CEST 2011


On Tue, Jul 19, 2011 at 8:12 PM, sturlamolden <sturlamolden at yahoo.no> wrote:
> 3. Unpythonic memory management: Python references to deleted C++
> objects (PyQt). Manual dialog destruction (wxPython). Parent-child
> ownership might be smart in C++, but in Python we have a garbage
> collector.

Perhaps you already know this, but recent versions of wxPython allow
dialogs to be used as context managers, which destroys them when the
with block is exited.



More information about the Python-list mailing list