Message159540
Ok, here is a draft patch for the new importlib.
Several issues with this patch:
- introduces a pure Python function (_lock_unlock_module) on the fast import path
- synchronization issues due to interruptibility of pure Python code (see _ModuleLock.acquire)
- afterfork fix-up necessary
- relies on _thread.RLock for bootstrapping reasons
- module locks are immortal |
|
Date |
User |
Action |
Args |
2012-04-28 20:57:41 | pitrou | set | recipients:
+ pitrou, gvanrossum, brett.cannon, ncoghlan, belopolsky, vstinner, christian.heimes, grahamd, neologix |
2012-04-28 20:57:40 | pitrou | set | messageid: <1335646660.06.0.263106902138.issue9260@psf.upfronthosting.co.za> |
2012-04-28 20:57:39 | pitrou | link | issue9260 messages |
2012-04-28 20:57:39 | pitrou | create | |
|