> This I don't understand. Why don't you just use binary mode then?
> At least for Python 2.x, the *only* difference between text and
> binary mode is the treatment of line endings.

That just flips the problem to the other side.  Now if I have a
Python library that I'm mixing w/ .NET code I need to be sure to
transform the line endings, but now from \n -> \r\n (and hopefully
they'd detect the new-line style they should use so it works
correctly on Mono on *nix or Silverlight on OS X as well).


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to