[Python-checkins] r54466 - in python/branches/release25-maint: Include/setobject.h Lib/test/test_set.py Objects/dictobject.c Objects/setobject.c
Raymond Hettinger
python at rcn.com
Wed Mar 21 17:56:12 CET 2007
> No, I don't believe it does; it just specialcases
> dict.fromkeys(some_set) for performance, not for added functionality.
In Py2.5 sets are not supposed to call PyObject_Hash unnecessarily. This checkin fixes one that I had missed and completes that promise. Is is an important part of what Py2.5 sets were supposed to do (or not do).
Raymond
More information about the Python-checkins
mailing list