[issue8757] Automatic set-to-frozenset conversions not thread-safe

Raymond Hettinger report at bugs.python.org
Fri Aug 6 12:38:07 CEST 2010


Raymond Hettinger <rhettinger at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8757>
_______________________________________


More information about the Python-bugs-list mailing list