Message58334
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(). |
|
| Date |
User |
Action |
Args |
| 2007-12-10 01:27:09 | christian.heimes | set | spambayes_score: 0.0427814 -> 0.0427814 recipients:
+ christian.heimes, pje, ncoghlan |
| 2007-12-10 01:27:09 | christian.heimes | set | spambayes_score: 0.0427814 -> 0.0427814 messageid: <1197250029.55.0.888793829886.issue1576@psf.upfronthosting.co.za> |
| 2007-12-10 01:27:09 | christian.heimes | link | issue1576 messages |
| 2007-12-10 01:27:09 | christian.heimes | create | |
|