summaryrefslogtreecommitdiffstats
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-16 14:47:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-16 14:47:15 (GMT)
commite18e05cce92182e7f852e2d1569904190b8a9a40 (patch)
tree6a9b85ad22229c378de5f57e579c8b2296d5c5b0 /Lib/sre_constants.py
parent94bf697b01f56b99bfd3edaf72b7f4893d80c122 (diff)
downloadcpython-e18e05cce92182e7f852e2d1569904190b8a9a40.zip
cpython-e18e05cce92182e7f852e2d1569904190b8a9a40.tar.gz
cpython-e18e05cce92182e7f852e2d1569904190b8a9a40.tar.bz2
Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index 1863f48..4be57f5 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -15,10 +15,6 @@
MAGIC = 20031017
-# max code word in this release
-
-MAXREPEAT = 65535
-
# SRE standard exception (access as sre.error)
# should this really be here?