[Pythonmac-SIG] Re: [Python-Dev] Import hook to do end-of-line conversion?

Just van Rossum just@letterror.com
Thu, 12 Apr 2001 10:03:33 +0200


Tim Peters wrote:

> No, there's nothing wrong with the tokenizer code:  it's coded in C, and the
> C text convention is that lines end with \n, period.  Reliance on that
> convention is ubiquitous -- and properly so. 

I don't get it: why would a thin layer on top of stdio be bad? Seems much less
work than reimplementing stdio.

Just