Re: __import__ returns module without it's attributes?

2009-11-15 Thread Gabriel Genellina
En Fri, 13 Nov 2009 20:27:29 -0300, Zac Burns zac...@gmail.com escribió: I've overloaded __import__ to modify modules after they are imported... but running dir(module) on the result only returns __builtins__, __doc__, __file__, __name__, __package__, and __path__. Why is this? More

Re: __import__ returns module without it's attributes?

2009-11-14 Thread Dave Angel
Zac Burns wrote: I've overloaded __import__ to modify modules after they are imported... but running dir(module) on the result only returns __builtins__, __doc__, __file__, __name__, __package__, and __path__. Why is this? More importantly, where can I hook in that would allow me to see the

__import__ returns module without it's attributes?

2009-11-13 Thread Zac Burns
I've overloaded __import__ to modify modules after they are imported... but running dir(module) on the result only returns __builtins__, __doc__, __file__, __name__, __package__, and __path__. Why is this? More importantly, where can I hook in that would allow me to see the contents of the