Nick Coghlan added the comment:

You'd still need to check lock_held() to see if *some* thread is holding the 
import lock. The non-blocking import API should then let you determine if that 
thread is the current one.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to