]> granicus.if.org Git - python/commit
#2834: Change re module semantics, so that str and bytes mixing is forbidden,
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 19 Aug 2008 17:56:33 +0000 (17:56 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 19 Aug 2008 17:56:33 +0000 (17:56 +0000)
commitfd036451bf0e0ade8783e21df801abf7be96d020
treee70ff65a9e641d8e790bc091f0dc2507baf344ca
parent3ad7ba10a20827b24d4b1aa9dd49474db8affbdd
#2834: Change re module semantics, so that str and bytes mixing is forbidden,
and str (unicode) patterns get full unicode matching by default. The re.ASCII
flag is also introduced to ask for ASCII matching instead.
37 files changed:
Doc/library/re.rst
Lib/_strptime.py
Lib/base64.py
Lib/decimal.py
Lib/distutils/cygwinccompiler.py
Lib/distutils/emxccompiler.py
Lib/distutils/sysconfig.py
Lib/distutils/util.py
Lib/distutils/version.py
Lib/distutils/versionpredicate.py
Lib/email/quoprimime.py
Lib/email/utils.py
Lib/encodings/idna.py
Lib/ftplib.py
Lib/html/parser.py
Lib/http/cookiejar.py
Lib/http/cookies.py
Lib/imaplib.py
Lib/json/decoder.py
Lib/logging/handlers.py
Lib/platform.py
Lib/plistlib.py
Lib/posixpath.py
Lib/py_compile.py
Lib/re.py
Lib/sre_constants.py
Lib/sre_parse.py
Lib/tarfile.py
Lib/test/re_tests.py
Lib/test/test_bytes.py
Lib/test/test_mmap.py
Lib/test/test_re.py
Lib/tokenize.py
Lib/urllib/request.py
Misc/NEWS
Modules/_sre.c
Modules/sre.h