[Pythonmac-SIG] Re: [Python-Dev] Import hook to do

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 12 Apr 2001 11:44:01 +1200 (NZST)


end-of-line conversion?

Just van Rossum <just@letterror.com>:
> Tim Peters wrote:
> > I have no idea what Mac C libraries return for text-mode reads.  They must
> > convert \r to \n, right? 
> Yes.

Unless you're using the MPW compiler, which swaps the meanings
of \r and \n in the source instead!

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	   +--------------------------------------+