
Nov. 8, 2009
8:56 p.m.
Mathias Panzenböck wrote:
Sounds like the ClassLoader in Java. I think it would be a good idea.
On further reflection, it occurred to me that it should be possible to do something along these lines with importlib, *without* necessarily replacing the builtin import machinery (i.e. having a special instance of the class that mapped its instance attributes to the appropriate sys module attributes). Unfortunately, I doubt I'll have the cycles any time soon to pursue the idea further :P Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------