[Python-Dev] Strings: '\012' -> '\n'

Guido van Rossum guido@python.org
Tue, 16 Jan 2001 09:11:53 -0500

> Finn Bock <bckfnn@worldonline.dk>:
> > I like it, because it removes yet another difference between Python and
> > Jython. Jython happens to handle these chars specially: \n, \t, \b, \f
> > and \r.

> This is an argument for adding \b and \f to the special set in
> CPython.  If the BDFL looks benignly on adding \v and \a, those
> should go into Jython's special set too.

No, I think Jython should remove \b and \f.  Or the language standard
could allow implementations some freedom here (as long as the output
is a string literal).

--Guido van Rossum (home page: http://www.python.org/~guido/)