[Python-Dev] Import hook to do end-of-line conversion?

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


jack wrote:
> There's talk on the PythonMac-SIG to create an import hook that would
> read modules with either \r, \n or \r\n newlines and convert them to
> the local convention before feeding them to the rest of the import
> machinery.

why not fix the compiler instead?

Cheers /F