Message169217
Ok, I can now reproduce with setswitchinterval(). Here is a patch. There was a race between putting the new module in sys.modules and setting its __initializing__ attribute, so now __initializing__ is set before putting the module in sys.modules.
Also, there was another race when retrieving a module lock from the locks dict (the weakref could be destroyed between the __contains__ test and the actual fetch). |
|
Date |
User |
Action |
Args |
2012-08-27 20:51:33 | pitrou | set | recipients:
+ pitrou, brett.cannon, georg.brandl, ncoghlan, vstinner, christian.heimes, jkloth, skrah, eric.snow |
2012-08-27 20:51:33 | pitrou | set | messageid: <1346100693.27.0.263254020591.issue15781@psf.upfronthosting.co.za> |
2012-08-27 20:51:32 | pitrou | link | issue15781 messages |
2012-08-27 20:51:32 | pitrou | create | |
|