Guido van Rossum schrieb: > On Thu, May 1, 2008 at 12:32 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: >> Guido van Rossum schrieb: >> >>> But wouldn't this mean that those properties would no longer be >> > available in the module's __dict__? >> >> Correct. Module properties would behave exactly like instance >> properties. They don't appear on the instance's __dict__ attribute, too. >> >> By the way I was astonished that the vars() function dones't show >> properties but dir() does list them. > > "Astonished" sounds stronger than you probably meant it. :-)
Slightly :) What's your opinion on the module properties idea? Do you still like it although the property values won't show up in __dict__? Christian _______________________________________________ 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