Message299953
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. |
|
Date |
User |
Action |
Args |
2017-08-08 23:43:57 | vstinner | set | recipients:
+ vstinner, brett.cannon, ncoghlan, serhiy.storchaka |
2017-08-08 23:43:57 | vstinner | set | messageid: <1502235837.52.0.532337378443.issue31070@psf.upfronthosting.co.za> |
2017-08-08 23:43:57 | vstinner | link | issue31070 messages |
2017-08-08 23:43:57 | vstinner | create | |
|