Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com