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

Fredrik Lundh fredrik@pythonware.com
Sat, 7 Apr 2001 18:54:28 +0200


Just wrote:
> > > why not fix the compiler instead?
> > 
> > Exactly. That is where the correct fix should go. The compile can/should
> > recognize all types of newlines as the NEWLINE token.
> 
> The same goes for file objects in text mode...

probably -- but changing can break stuff (in theory, at least), and
may require a PEP.  changing the compiler is more of a bugfix, really...

Cheers /F