[PyQt] PyQt4 Feature request: support for __dict__ property
Алексей Никитенко
non-alex at yandex.ru
Wed Mar 11 08:26:28 GMT 2009
Hi!
A use my own tiny framework based on PyProtocols.
I declare adapters for some PyQt4 objects (QTableWidget, for example)
and use interfaces in my code.
It's a little bit exotic, but provides more flexible and readable code.
New snapshots of PyQt4.5 dropped QObject.__dict__ property, and I cannot declare adapter for specific PyQt object any more.
Will be nice to fix that.
If maintaining __dict__ propery is memory expensive, maybe lazy initialization will work?
Thanks,
Alexey
More information about the PyQt
mailing list