
janssen at parc
Sep 16, 2007, 4:01 PM
Post #1 of 4
(386 views)
Permalink
|
|
'text' mode rears its ugly head again
|
|
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! Anyway, I think what's going on is that the two data blobs the test compares, one read from a file opened with "open(filename, 'r')", and the other a data stream read from an HTTP response "file" returned from urllib.urlopen(), have different line-endings. Of course, this only matters on Windows; on UNIX, the faux differentiation doesn't exist. Bill _______________________________________________ Python-Dev mailing list Python-Dev [at] python http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com
|