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

Christian Heimes report at bugs.python.org
Sun Dec 9 16:25:56 CET 2007


Christian Heimes added the comment:

I fixed a bug in the last patch. It now works mixed sets with str and
bytes but it doesn't optimize bytes in set_lookup() any more.

Added file: http://bugs.python.org/file8899/py3k_optimize_set_unicode.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1564>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3k_optimize_set_unicode.patch
Type: text/x-diff
Size: 7161 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071209/26ee43e5/attachment.patch 


More information about the Python-bugs-list mailing list