On Wed, Apr 30, 2008 at 2:17 PM, Christian Heimes <[EMAIL PROTECTED]> 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/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com