Author christian.heimes
Recipients christian.heimes, ncoghlan, pje
Date 2007-12-10.01:27:08
SpamBayes Score 0.0427814
Marked as misclassified No
Message-id <>
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().
File name Uploaded
py3k_post_import_hook2.patch christian.heimes, 2007-12-10.01:27:08
Date User Action Args
2007-12-10 01:27:09christian.heimessetspambayes_score: 0.0427814 -> 0.0427814
recipients: + christian.heimes, pje, ncoghlan
2007-12-10 01:27:09christian.heimessetspambayes_score: 0.0427814 -> 0.0427814
messageid: <>
2007-12-10 01:27:09christian.heimeslinkissue1576 messages
2007-12-10 01:27:09christian.heimescreate