Message110219
The import lock is lacking tests that it functions properly.
Coming up with a way of checking it was unexpectedly hard. I finally managed to write a script which quite reliably fails if you patch Python/import.c to not take the import lock. The script relies on garbage collection trickery to release the GIL at arbitrary moments.
It should probably be converted to an unit test. |
|
Date |
User |
Action |
Args |
2010-07-13 19:05:32 | pitrou | set | recipients:
+ pitrou, brett.cannon, ncoghlan |
2010-07-13 19:05:31 | pitrou | set | messageid: <1279047931.75.0.287450849516.issue9251@psf.upfronthosting.co.za> |
2010-07-13 19:05:30 | pitrou | link | issue9251 messages |
2010-07-13 19:05:30 | pitrou | create | |
|