Message110186
Pretty much anything mentioned in PEP 302 is what is being protected.
The one which causes most of the grief is the fact that we need to stick a partially initialised module into sys.modules (so the module can find itself if it needs to), then take it out again if execution of the module level code fails. That means we need to hold the import lock while the module code is executed. |
|
Date |
User |
Action |
Args |
2010-07-13 13:14:28 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, belopolsky, pitrou, christian.heimes, grahamd |
2010-07-13 13:14:28 | ncoghlan | set | messageid: <1279026868.7.0.754753846073.issue8098@psf.upfronthosting.co.za> |
2010-07-13 13:14:27 | ncoghlan | link | issue8098 messages |
2010-07-13 13:14:27 | ncoghlan | create | |
|