Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
See r83757, r83756, and r83755. The existing unittests prove the script does what it is supposed to do. The new code is just a different approach to the same problem so that it is less likely to be user visible. The attached set-race.py fragment is an incorrect test. The docs state that the object should not be read by another thread. So, this "test" would be validating a behavior that is not guaranteed either in this implementation or in others. ---------- resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com