[Pythonmac-SIG] \r vs. \n --> import hook?

Jack Jansen jack@oratrix.nl
Fri, 06 Apr 2001 10:40:22 +0200


> I was thinking about the Unix/Carbon \n vs. \r issue: can't this be solved by an
> import hook? Maybe this is not the best thing in the long run, but it would
> allow us to get started quickly.

Yes, this sounds like a good idea! Actually, it may be possible to create an 
import hook that runs on any system, and imports any of \r, \n, \r\n files.

This would be a really nice addition to the core Python, because it would not 
only solve our problems but it would also allow you to access unix files on 
Samba partitions from a PC, PCNFS files from unix, etc etc etc.

Anyone want to pick this up?
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm