[Python-Dev] Strings: '\012' -> '\n'
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...
Python Pages: http://www.lemburg.com/python/