[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

Guido van Rossum report at bugs.python.org
Thu Jan 3 01:15:01 CET 2008


Guido van Rossum added the comment:

Can you produce a version of the patch that applies cleanly to 2.6? Then
we can apply it there first and merge into 3.0 later.

But I wonder.  It seems this changes every single call to
PyImport_ImportModule() in the core to _PyImport_ImportModuleNoLock(). 
What's the point of the lock at that point?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1567>
__________________________________


More information about the Python-bugs-list mailing list