This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa, chris.jerdonek, ezio.melotti, mrabarnett, rhettinger, serhiy.storchaka
Date 2013-10-16.11:28:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381922914.71.0.747953119392.issue17087@psf.upfronthosting.co.za>
In-reply-to
Content
Added the new patch, which addresses Serhiy's comments.
Also, this approach fails when bytes are involved:

>>> import re
>>> re.search(b"a", b"a")
Assertion failed: (PyUnicode_Check(op)), function _PyUnicode_CheckConsistency, file Objects/unicodeobject.c, line 309.

Should a check be added for this also?
History
Date User Action Args
2013-10-16 11:28:34Claudiu.Popasetrecipients: + Claudiu.Popa, rhettinger, ezio.melotti, mrabarnett, chris.jerdonek, serhiy.storchaka
2013-10-16 11:28:34Claudiu.Popasetmessageid: <1381922914.71.0.747953119392.issue17087@psf.upfronthosting.co.za>
2013-10-16 11:28:34Claudiu.Popalinkissue17087 messages
2013-10-16 11:28:34Claudiu.Popacreate