[Python-Dev] Python3 "complexity" (was RFC: PEP 460: Add bytes...)

Victor Stinner victor.stinner at gmail.com
Thu Jan 9 00:28:41 CET 2014


Hi,

>  Python 3 forces you to think about abstract concepts like encodings when all you want is to open that .txt file on the drive and extract some phone numbers and merge in some email addresses.

You can open a text file using ascii + surrogateescape, or just open
the file in binary.

Victor


More information about the Python-Dev mailing list