Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: Thanks a lot for the feedback. The thinking was to use a stand-alone (even testable) construct with dependencies made explicit. For example, it wasn't obvious that the current iterator depended on forever, or whether the args_tuple parameter was a necessary part of it. But I agree it should be simplified.
Here is a simpler patch, keeping iterator semantics. My preference is to avoid adding lock semantics and additional complexity directly to main(), even though doing so would permit a smaller patch. ---------- Added file: http://bugs.python.org/file26389/issue-15320-4.patch _______________________________________ 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