[issue1564] The set implementation should special-case PyUnicode instead of PyString

Raymond Hettinger report at bugs.python.org
Mon Dec 10 02:42:32 CET 2007


Raymond Hettinger added the comment:

Okay, then simply go back to the unaltered existing code and replace 
references to PyString with PyUnicode. Skip all the macros, new 
functions, factorings, etc.  Just change strings to unicode and be done 
with it.  IIRC, that was what was done for dicts.  Just do the same for 
sets and not try to get tricky with a new, misnamed C API function like 
PyObject_Hash().

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1564>
__________________________________


More information about the Python-bugs-list mailing list