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


_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to