Author vstinner
Recipients brett.cannon, ncoghlan, serhiy.storchaka, vstinner
Date 2017-08-08.23:43:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I wrote which seems to fix the issue.

I don't know importlib well enough to understand why we need a weak reference to a lock.

My PR adds a second lock per module lock (!) to be able to wait until _module_locks[name] is deleted when a thread detects that _module_locks[name] exists and the associated lock was destroyed.
Date User Action Args
2017-08-08 23:43:57vstinnersetrecipients: + vstinner, brett.cannon, ncoghlan, serhiy.storchaka
2017-08-08 23:43:57vstinnersetmessageid: <>
2017-08-08 23:43:57vstinnerlinkissue31070 messages
2017-08-08 23:43:57vstinnercreate