diff options
| 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) |
| commit | 7492e4260e4f6231f6f30a0f10f514115b9233cb (patch) | |
| tree | 826f8de8fc8403ea49a6fb682c18f4c940a959c4 /Lib/sre.py | |
| parent | 3ff9e558901b49551e27ee48a1fb39b65037e889 (diff) | |
| download | cpython-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.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
