[Pythonmac-SIG] Re: [Python-Dev] Import hook to do end-of-line conversion?
Greg Ewing
greg@cosc.canterbury.ac.nz
Tue, 10 Apr 2001 12:21:36 +1200 (NZST)
Chris Barker <chrishbarker@home.net>:
> Even if people have been sloppy and used binary mode for text files
> under *nix, that code would still work with *nix text files, which is
> the only way it works now anyway.
That's a good point. The only thing that could break is if
you opened a non-Unix file in *text* mode, and then expected
it to behave as though it had been opened in *binary* mode.
I can't imagine any code being screwy enough to do that!
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+