
March 30, 2011
10:59 p.m.
I was just thinking along those same lines. Sounds like twisted already does it. Does it amount to using a custom __import__? -eric On Wed, Mar 30, 2011 at 2:51 PM, Greg Ewing <greg.ewing@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.
-- Greg
_______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas