[issue39949] truncating match in regular expression match objects repr

Quentin Wenger report at bugs.python.org
Tue Jun 16 17:29:20 EDT 2020


Quentin Wenger <wenger.quentin at bluewin.ch> added the comment:

Oh ok, I was mislead by the example in your first message, where you did have both the quote and ellipsis.

I don't have a strong opinion.
- having the quote is a bit more "clean"
- but not having it makes clear than the pattern is truncated (per se, three dots is a valid pattern)

The best would be to find a precedent in the stdlib, but I currently cannot think of any either.

----------

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


More information about the Python-bugs-list mailing list