[issue3460] PyUnicode_Join could perhaps be simpler
Antoine Pitrou
report at bugs.python.org
Tue Jul 29 12:41:13 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Well the potentially dangerous function would have been
PyUnicode_FromObject, but in py3k it only accepts unicode instances
(either exact or subclasses), and since we are only interested in the
underlying buffer we can replace those calls with PyUnicode_Check.
I'll work on a patch and keep you updated.
----------
assignee: -> pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3460>
_______________________________________
More information about the Python-bugs-list
mailing list