This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, ncoghlan, pje
Date 2007-12-10.01:27:08
SpamBayes Score 0.04278136
Marked as misclassified No
Message-id <1197250029.55.0.888793829886.issue1576@psf.upfronthosting.co.za>
In-reply-to
Content
I've moved the result = PyImport_NotifyPostImport(result); inside the
protected block. It's now protected by the import lock. I've also added
the lock protection to the register function.

The notify method is now exposed through the imp module, too.

I've checked multiple code paths. They all end up in 
PyImport_ImportModuleLevel(): builtins.__import__(), PyImport_Import(),
PyImport_ImportModule(). Only PyImport_ImportFrozenModule() doesn't use
the code path in imp_init_frozen().
Files
File name Uploaded
py3k_post_import_hook2.patch christian.heimes, 2007-12-10.01:27:08
History
Date User Action Args
2007-12-10 01:27:09christian.heimessetspambayes_score: 0.0427814 -> 0.04278136
recipients: + christian.heimes, pje, ncoghlan
2007-12-10 01:27:09christian.heimessetspambayes_score: 0.0427814 -> 0.0427814
messageid: <1197250029.55.0.888793829886.issue1576@psf.upfronthosting.co.za>
2007-12-10 01:27:09christian.heimeslinkissue1576 messages
2007-12-10 01:27:09christian.heimescreate