Antoine Pitrou added the comment: With or without Raymond's suggested change, "global _counter" is not necessary anymore. Note that this fix only works on implementations where itertools.count().next is atomic.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11866> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com