[Python-Dev] 'text' mode rears its ugly head again
Nick Coghlan
ncoghlan at gmail.com
Mon Sep 17 12:53:08 CEST 2007
Bill Janssen wrote:
> I've checked in the asyncore SSL patch, and the Windows buildbots are
> failing on the HTTPS test. I believe it's due to this insane
> differentiation between between text files and binary files, a bad
> idea introduced by Windows and perpetuated (apparently) by Python. I
> can't believe this wasn't eliminated in py3k!
The binary/text distinction is being increased in Py3k rather than
reduced (the API for binary files uses bytes, the API for text files
uses Unicode strings).
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list