diff options
author | Christoph Sarnowski <pixelbrei@gmail.com> | 2017-10-23 17:10:48 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-10-23 17:10:48 (GMT) |
commit | 62adc55aff0b78447568f73bd1abc610d2784bf8 (patch) | |
tree | 7b54077e30885c67e78cbe7006f749e5c6496b39 /Misc/NEWS.d/next/Tools-Demos | |
parent | 66caacf2f0d6213b049a3097556e28e30440b900 (diff) | |
download | cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.zip cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.tar.gz cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.tar.bz2 |
bpo-30722: Make redemo work with Python 3.6+ (GH-2311)
Diffstat (limited to 'Misc/NEWS.d/next/Tools-Demos')
-rw-r--r-- | Misc/NEWS.d/next/Tools-Demos/2017-10-23-19-45-52.bpo-30722.ioRlAu.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2017-10-23-19-45-52.bpo-30722.ioRlAu.rst b/Misc/NEWS.d/next/Tools-Demos/2017-10-23-19-45-52.bpo-30722.ioRlAu.rst new file mode 100644 index 0000000..2d20c4b --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2017-10-23-19-45-52.bpo-30722.ioRlAu.rst @@ -0,0 +1,9 @@ +Make redemo work with Python 3.6 and newer versions. + +In Python 3.6, flags like re.DOTALL became members of an enum.IntFlag so +usages like ``getattr(re, 'DOTALL')`` are invalid. + +Also, remove the ``LOCALE`` option since it doesn't work with string +patterns in Python 3. + +Patch by Christoph Sarnowski. |