[issue35859] Capture behavior depends on the order of an alternation

Serhiy Storchaka report at bugs.python.org
Tue Mar 29 10:35:33 EDT 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Since the old behavior in many cases matches the behavior of Perl and Java (which are considered bugs, but still), it was decided to not backport the fix to avoid possible breakage in bugfix releases.

Thank you Ma Lin for your contribution.

----------
components: +Library (Lib)
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 2.7, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35859>
_______________________________________


More information about the Python-bugs-list mailing list