Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a preliminary patch which doesn't remove re.LOCALE, but adds TypeError's for mistyped matchings, a ValueError when specifying re.UNICODE with a bytes pattern, and implies re.UNICODE for unicode patterns. The test suite runs fine after a few fixes.
It also includes the patch for #3231 ("re.compile fails with some bytes patterns"). ---------- keywords: +patch Added file: http://bugs.python.org/file10767/reunicode.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2834> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com