30 Apr
2008
30 Apr
'08
11:41 p.m.
On Wed, Apr 30, 2008 at 2:17 PM, Christian Heimes <lists@cheimes.de> wrote:
As you all know modules don't support properties. However several places and modules could use properties on module level. For example the sys.py3k_warnings flag could be implemented with a property. Other flags in the sys module could benefit from read only properties, too.
How do you like the general idea of properties for builtin modules. That is modules written in C like the sys module.
But wouldn't this mean that those properties would no longer be available in the module's __dict__? -- --Guido van Rossum (home page: http://www.python.org/~guido/)