
March 30, 2011
11:13 p.m.
Eric Snow wrote:
I was just thinking along those same lines. Sounds like twisted already does it. Does it amount to using a custom __import__?
I don't know what Twisted does, but I was thinking of an attribute called __moduleclass__ that works a bit like the old __metaclass__ attribute. Then you could do class __moduleclass__: ... descriptor definitions go here ... -- Greg