[Python-ideas] Modules could behave like new-style objects
Zac Burns
zac256 at gmail.com
Thu Apr 2 23:14:42 CEST 2009
I would like to see modules behave more like new-style objects. One
should be able to add properties, descriptors, __getattr__, and such.
One common use case for me is implementing wrapper modules that
populate dynamically (like the ctypes.windll object - except as a
module).
--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer
Zindagi Games
More information about the Python-ideas
mailing list