]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixed issue #1564: The set implementation should special-case PyUnicode instead of...
authorChristian Heimes <christian@cheimes.de>
Mon, 10 Dec 2007 15:50:56 +0000 (15:50 +0000)
committerChristian Heimes <christian@cheimes.de>
Mon, 10 Dec 2007 15:50:56 +0000 (15:50 +0000)
commit0ded5b54bb499865fb4ab8c0ac3d0977df9a334d
treea395f726d50a71b1bf363d5a041224ad51e80691
parent110194048e2d6a42f5954c39c8646ba93b66a7e1
Fixed issue #1564: The set implementation should special-case PyUnicode instead of PyString
I moved the unicode_eq to stringlib/eq.h to keep the function static and possible inline for setobject.c and dictobject.h. I also removed the unused _PyString_Eq method. If it's required in the future it can be added to eq.h
Include/stringobject.h
Lib/test/test_set.py
Misc/NEWS
Objects/dictobject.c
Objects/setobject.c
Objects/stringlib/eq.h [new file with mode: 0644]
Objects/stringobject.c