[Python-ideas] descriptors outside of classes
ericsnowcurrently at gmail.com
Wed Mar 30 22:59:24 CEST 2011
I was just thinking along those same lines. Sounds like twisted already
does it. Does it amount to using a custom __import__?
On Wed, Mar 30, 2011 at 2:51 PM, Greg Ewing <greg.ewing at canterbury.ac.nz>wrote:
> 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.
> Python-ideas mailing list
> Python-ideas at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas