Message110219
| Author |
pitrou |
| Recipients |
brett.cannon, ncoghlan, pitrou |
| Date |
2010年07月13日.19:05:29 |
| SpamBayes Score |
2.5228983e-05 |
| Marked as misclassified |
No |
| Message-id |
<1279047931.75.0.287450849516.issue9251@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|