Message58329
It also needs to hold the import lock during both the "register" and
"notify" operations. In addition, the "notify" operation needs to be
exposed for calling from Python (so that lazy module implementations
can interop). Finally, it's not clear to me whether there's any way
one of the import APIs can exit with the module added to sys.modules,
but *without* the notify operation being called. It seems to me that
those code paths were cleared up in 2.4 (i.e. failure to import
causes the module to be removed from sys.modules), but it might be
good to doublecheck that. |
|
| Date |
User |
Action |
Args |
| 2007-12-09 21:06:18 | pje | set | spambayes_score: 0.0754524 -> 0.0754524 recipients:
+ pje, ncoghlan, christian.heimes |
| 2007-12-09 21:06:17 | pje | link | issue1576 messages |
| 2007-12-09 21:06:17 | pje | create | |
|