This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, eric.snow, gvanrossum, ncoghlan
Date 2014-12-17.23:20:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418858425.07.0.452902424916.issue23068@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-17 23:20:25ncoghlansetrecipients: + ncoghlan, gvanrossum, brett.cannon, eric.snow
2014-12-17 23:20:25ncoghlansetmessageid: <1418858425.07.0.452902424916.issue23068@psf.upfronthosting.co.za>
2014-12-17 23:20:25ncoghlanlinkissue23068 messages
2014-12-17 23:20:25ncoghlancreate