[Python-Dev] Assymetry in repr(STRING)

François Pinard pinard@iro.umontreal.ca
12 Jul 2003 00:31:42 -0400

Hello, all.  I just noticed:

Python 2.3b2 (#2, Jun 30 2003, 10:14:37) 
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import nested_scopes, generators, division
>>> '\n\f\b\t'

and wonder if this is really on purpose that `\f' is not echoed as `\f', for
example.  Would not it be nicer if white space effectors were consistently
interpreted?  If `\n' and `\t' got the special treat, why not the others?

François Pinard   http://www.iro.umontreal.ca/~pinard