Message296530
In Python 3.6, the flags in the "re" module became members of an enum.IntFlag, whereas before they were just ints.
This breaks the regex demo in Tools/demo/redemo.py.
To fix this, in line 86 of redemo.py,
getattr(re, name)
has to be replaced by
getattr(re, name).value
Also, the checkbox for "LOCALE" can be removed (or fixed), as re.LOCALE is invalid for str patterns. |
|
Date |
User |
Action |
Args |
2017-06-21 08:57:43 | Christoph Sarnowski2 | set | recipients:
+ Christoph Sarnowski2, ezio.melotti, mrabarnett |
2017-06-21 08:57:43 | Christoph Sarnowski2 | set | messageid: <1498035463.93.0.0897725262949.issue30722@psf.upfronthosting.co.za> |
2017-06-21 08:57:43 | Christoph Sarnowski2 | link | issue30722 messages |
2017-06-21 08:57:43 | Christoph Sarnowski2 | create | |
|