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/2014-January/131152.html below:

[Python-Dev] Python3 "complexity"

[Python-Dev] Python3 "complexity" [Python-Dev] Python3 "complexity"Serhiy Storchaka storchaka at gmail.com
Fri Jan 10 19:05:31 CET 2014
10.01.14 14:19, M.-A. Lemburg написав(ла):
> BTW: Perhaps it would be a good idea to backport the
> surrogateescape error handler to Python 2.7 to simplify
> writing code which works in both Python 2 and 3.

You also should change the UTF-8 codec so that it will reject surrogates 
(i.e. u'\ud880'.encode('utf-8') and '\xed\xa2\x80'.decode('utf-8') 
should raise exceptions). And this will break much code.


More information about the Python-Dev mailing list

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