[issue1680159] Misleading exception from unicode.__contains__
R. David Murray
report at bugs.python.org
Sat Apr 4 06:23:55 CEST 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
Still gives the same message in 2.7a0. Looks to be simple enough to
fix: just stop masking the UnicodeDecode and TypeError messages produced
by the PyUnicode_FromObject call in the PyUnicode_Contains method. Test
and patch attached. If you have no objection, Mark, I'll apply it.
----------
components: +Interpreter Core -Unicode
keywords: +patch
nosy: +r.david.murray
stage: -> commit review
type: -> behavior
versions: +Python 2.6, Python 2.7
Added file: http://bugs.python.org/file13609/Issue1680159.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1680159>
_______________________________________
More information about the Python-bugs-list
mailing list