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

2014年1月17日 20:12:47 -0800

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?
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to