[Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?
Terry Reedy
tjreedy at udel.edu
Wed Jun 29 02:22:59 CEST 2011
On 6/28/2011 5:42 PM, Georg Brandl wrote:
> At the very least, a change like this needs a transitional strategy, like
> it has been used during the 2.x series:
>
> * In 3.3, accept "locale" as the encoding parameter, meaning the locale encoding
> * In 3.4, warn if encoding isn't given and the locale encoding isn't UTF-8
> * In 3.5, change default encoding to UTF-8
3.5 should be 4-5 years off. I actually would not propose anything
faster than that.
--
Terry Jan Reedy
More information about the Python-Dev
mailing list