Message 113499 - Python tracker (original) (raw)

Message113499

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:41 brett.cannon set recipients: + brett.cannon, lemburg, rhettinger, mark.dickinson, orsenthil, pitrou, vstinner
2010-08-09 23:44:41 brett.cannon set messageid: 1281397481.34.0.711946985317.issue9548@psf.upfronthosting.co.za
2010-08-09 23:44:39 brett.cannon link issue9548 messages
2010-08-09 23:44:39 brett.cannon create