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 chris.jerdonek
Recipients amaury.forgeotdarc, chris.jerdonek, pitrou
Date 2012-07-11.11:17:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342005476.38.0.530545268125.issue15320@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think the late binding is necessary. But it looks like late binding could be preserved simply by constructing args_tuple inside the worker thread instead of in the generator. Really, only "test" needs to be yielded. Nothing else varies in the loop.

Is popping from a list thread safe, or were you thinking of another queue?
History
Date User Action Args
2012-07-11 11:17:56chris.jerdoneksetrecipients: + chris.jerdonek, amaury.forgeotdarc, pitrou
2012-07-11 11:17:56chris.jerdoneksetmessageid: <1342005476.38.0.530545268125.issue15320@psf.upfronthosting.co.za>
2012-07-11 11:17:55chris.jerdoneklinkissue15320 messages
2012-07-11 11:17:55chris.jerdonekcreate