A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011726.html below:

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

[Python-Dev] Strings: '\012' -> '\n' [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/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4