This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients belopolsky, brett.cannon, christian.heimes, grahamd, gvanrossum, ncoghlan, neologix, pitrou, vstinner
Date 2012-04-28.20:57:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335646660.06.0.263106902138.issue9260@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-04-28 20:57:41pitrousetrecipients: + pitrou, gvanrossum, brett.cannon, ncoghlan, belopolsky, vstinner, christian.heimes, grahamd, neologix
2012-04-28 20:57:40pitrousetmessageid: <1335646660.06.0.263106902138.issue9260@psf.upfronthosting.co.za>
2012-04-28 20:57:39pitroulinkissue9260 messages
2012-04-28 20:57:39pitroucreate