Trees | Indices | Help |
---|
|
ihooks._Verbose --+ | ihooks.BasicModuleImporter --+ | ihooks.ModuleImporter --+ | _PatchedModuleImporter
I am overriding ihook's ModuleImporter's import_module() method to accept (and ignore) the 'level' keyword argument that appeared in the built-in __import__() function in python2.5.
While no built-in modules in python2.5 seem to use that keyword argument, 'encodings' module in python2.6 does and so it breaks if used together with ihooks.
I make no attempt to properly support the 'level' argument - ihooks didn't make it into py3k, and the only use in python2.6 we've seen so far, in 'encodings', serves as a performance hint and it seems that can be ignored with no difference in behaviour.
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:00 2013 | http://epydoc.sourceforge.net |