summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
authorŽiga Seilnacht <ziga.seilnacht@gmail.com>2007-03-21 20:07:56 (GMT)
committerŽiga Seilnacht <ziga.seilnacht@gmail.com>2007-03-21 20:07:56 (GMT)
commit7492e4260e4f6231f6f30a0f10f514115b9233cb (patch)
tree826f8de8fc8403ea49a6fb682c18f4c940a959c4 /Lib/sre.py
parent3ff9e558901b49551e27ee48a1fb39b65037e889 (diff)
downloadcpython-7492e4260e4f6231f6f30a0f10f514115b9233cb.zip
cpython-7492e4260e4f6231f6f30a0f10f514115b9233cb.tar.gz
cpython-7492e4260e4f6231f6f30a0f10f514115b9233cb.tar.bz2
Bug #1675967: re patterns pickled with older Python versions can
now be unpickled. Will backport.
Diffstat (limited to 'Lib/sre.py')
-rw-r--r--Lib/sre.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
index 390094a..c04576b 100644
--- a/Lib/sre.py
+++ b/Lib/sre.py
@@ -8,3 +8,6 @@ warnings.warn("The sre module is deprecated, please import re.",
from re import *
from re import __all__
+
+# old pickles expect the _compile() reconstructor in this module
+from re import _compile