[pypy-dev] Issue #1775: imp.lock_held isn't quite right (pypy/pypy)

eevee issues-reply at bitbucket.org
Thu May 22 23:01:54 CEST 2014


New issue 1775: imp.lock_held isn't quite right
https://bitbucket.org/pypy/pypy/issue/1775/implock_held-isnt-quite-right

eevee:

PyPy's `lock_held()` returns whether the lock is held by the current thread: https://bitbucket.org/pypy/pypy/src/6e9376d22e0ecc83bfcdda81d0e37e695b435dd7/pypy/module/imp/importing.py?at=default#cl-753

But CPython returns whether the lock is held _at all_: http://hg.python.org/cpython/file/3a1db0d2747e/Python/import.c#l348




More information about the pypy-dev mailing list