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 brett.cannon
Recipients brett.cannon, lemburg, mark.dickinson, orsenthil, pitrou, rhettinger, vstinner
Date 2010-08-09.23:44:39
SpamBayes Score 0.00027116528
Marked as misclassified No
Message-id <1281397481.34.0.711946985317.issue9548@psf.upfronthosting.co.za>
In-reply-to
Content
Just to comment on the import lock issue when importing from within a function, it is a problem. If an import triggers the launching of a thread which calls these functions that have an import inside of them, deadlock will occur. This has been reported as an issue before so people do it (unfortunately).

Importing within functions is something to be avoided when possible.
History
Date User Action Args
2010-08-09 23:44:41brett.cannonsetrecipients: + brett.cannon, lemburg, rhettinger, mark.dickinson, orsenthil, pitrou, vstinner
2010-08-09 23:44:41brett.cannonsetmessageid: <1281397481.34.0.711946985317.issue9548@psf.upfronthosting.co.za>
2010-08-09 23:44:39brett.cannonlinkissue9548 messages
2010-08-09 23:44:39brett.cannoncreate