[Python-Dev] Strings: '\012' -> '\n'
M.-A. Lemburg
mal@lemburg.com
Tue, 16 Jan 2001 11:32:21 +0100
Minor nit about this idea: it makes decoding repr() style
strings harder for external tools and it could cause breakage
(e.g. if "\n" is usedby the encoding for some other purpose).
BTW, since there are a gazillion ways to encode strings into
7-bit ASCII, why not use the new codec design to add additional
output schemes for 8-bit strings ?!
Strings have an .encode() method as well...
--
Marc-Andre Lemburg
______________________________________________________________________
Company: http://www.egenix.com/
Consulting: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/