[issue31672] string.Template should use re.ASCII flag
Serhiy Storchaka
report at bugs.python.org
Thu Jan 4 12:40:09 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Results.
There are 4 cases:
1) default idpattern and flags
2) overridden only idpattern
3) overridden only flags
4) overridden both idpattern and flags
The case 1 was the one that was broken when this issue was opened. The initial Inada's version fixed the case 1, but broke the case 2. His final version (applied also to 3.6) fixed the case 1, but broke the case 3. This is a win, because cases 1 and 2 look much more common than the case 3. And finally PR 5099 has fixed also the case 3. The case 4 obviously is not affected by any changes of default values.
Now all four cases are correct in 3.7 and the only broken case in 3.6 is the uncommon case 3.
----------
resolution: -> fixed
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31672>
_______________________________________
More information about the Python-bugs-list
mailing list