[issue19104] pprint produces invalid output for long strings

Serhiy Storchaka report at bugs.python.org
Fri Sep 27 19:01:55 CEST 2013


Serhiy Storchaka added the comment:

Second path uses parentheses. It is more complicated than first patch.

I prefer first patch, because it is simple, because second variant wastes more width, because parentheses looks too similar to tuple, and because "implicit string literal concatenation considered harmful"[1].

http://comments.gmane.org/gmane.comp.python.ideas/20525

----------
Added file: http://bugs.python.org/file31887/pprint_str_evaluable_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19104>
_______________________________________


More information about the Python-bugs-list mailing list