ThiefMaster added the comment:

I think it's pretty ugly to have a repr that is valid python code in most cases 
and suddenly stops being so.

The repr of a string is not truncated, so why truncate it in a pattern object?

With the truncation, why not use a repr style that's clearly not executable to 
recreate the original object, e.g. `<re pattern %.200R>`

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to