[issue1576] First draft of a post import hook

Christian Heimes report at bugs.python.org
Tue Dec 11 00:17:44 CET 2007


Christian Heimes added the comment:

UPDATES:

* no ref leaks
* PyModule_IsLazy(mod) checks mod.__lazy_import__ attribute (we can
argue about a nice name later)
* Added imp.is_lazy(mod_or_name)

Added file: http://bugs.python.org/file8914/py3k_post_import_hook4.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1576>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3k_post_import_hook4.patch
Type: text/x-diff
Size: 16440 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071210/2d444bf7/attachment.patch 


More information about the Python-bugs-list mailing list