R. David Murray <rdmur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1680159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com