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/131801.html below:

[Python-Dev] Migration from Python 2.7 and bytes formatting

[Python-Dev] Migration from Python 2.7 and bytes formatting [Python-Dev] Migration from Python 2.7 and bytes formattingStephen J. Turnbull stephen at xemacs.org
Sat Jan 18 05:11:09 CET 2014
Neil Schemenauer writes:

 > I'd like to try porting code making use of the -2 feature to see how
 > helpful it is.  The behavior is partway between Python 2.x laziness
 > and Python 3.x strictness in terms of specifying encodings.
 > 
 > Python 2.x:
 > [...]
 > Python 3.x:
 > [...]

The above are descriptions of current behavior (ie, unchanged by PEPs
460, 461), and this:

 > Python 3.x with -2 command-line option:
 > 
 >     - when objects are formatted into bytes, immediately
 >       encode them using strict ASCII encoding.

is the content of this proposal, is that right?

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