[Python-ideas] descriptors outside of classes

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 30 22:51:22 CEST 2011

Eric Snow wrote:
> I am sure there is some convoluted way to make 
> it work, but it would not nearly be worth it for what we would get out 
> of it.

What would be useful from time to time is a more straightforward
way of getting a module that's based on a subclass of the
built-in module class. While that's currently possible, it
requires some not-entirely-obvious hackery.


More information about the Python-ideas mailing list