[Python-ideas] Modules could behave like new-style objects

Christian Heimes lists at cheimes.de
Fri Apr 3 16:12:07 CEST 2009


Thomas Heller wrote:
> But one could probably implement the module type's __getattr__ method
> to delegate to the instance, somehow.  Yes, I know that Guido doesn't like it.

As a matter of fact Guido has mentioned the very same idea a couple of
months ago.

Christian




More information about the Python-ideas mailing list