Raul Gallegos added the comment:
Thanks for reporting this issue, I have a PR here
https://github.com/python/cpython/pull/18533 but that still needs some
clarification, because there were some tests that were actually testing that we
were stripping everything after the square brackets.
P.D
Raul Gallegos added the comment:
hi @serhiy.storchaka is this something that you think could be done by a new
contributor? I'd really love to take care of this, I can improve on the PR I
was preparing https://github.com/python/cpython/pull/