Author haypo
Recipients brett.cannon, haypo, ncoghlan, serhiy.storchaka
Date 2017-08-08.23:43:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502235837.52.0.532337378443.issue31070@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote https://github.com/python/cpython/pull/3029 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.
History
Date User Action Args
2017-08-08 23:43:57hayposetrecipients: + haypo, brett.cannon, ncoghlan, serhiy.storchaka
2017-08-08 23:43:57hayposetmessageid: <1502235837.52.0.532337378443.issue31070@psf.upfronthosting.co.za>
2017-08-08 23:43:57haypolinkissue31070 messages
2017-08-08 23:43:57haypocreate