Antoine Pitrou <pit...@free.fr> added the comment: I find the patch complicated. If you are using a Lock, surely you don't need a deque, you can keep the original iterator (which is also more readable since it mirrors the semantics quite closely)?
---------- _______________________________________ 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