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

M.-A. Lemburg mal@lemburg.com
Sat, 14 Apr 2001 18:43:20 +0200


Just van Rossum wrote:
> 
> M.-A. Lemburg wrote:
> 
> > I don't know why this thread lead to tweaking stdio -- after all
> > we only need a solution for the Python tokenizer and not a general
> > purpose stdio abstraction of text files unless I'm missing something
> > here...
> 
> Aaaaaaaaaaaargh! ;-) Here we go again: fixing the tokenizer is great and all,
> but then what about all tools that read source files line by line? Eg.
> linecache.py, all IDE's, etc. etc. As Tim wrote a while back:
> 
>   importing-is-only-the-start-of-the-battle
> 
> So no, we don't "only need a solution for the Python tokenizer"...

See... that's why we need a PEP on these things ;-)

Seriously, I thought that you were only talking about being
able to work on Python code from different platforms in a network
(e.g. code is shared by a Windows box and development takes place
on a Mac).

Now it seems that you want to go for the full Monty :-)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Pages:                           http://www.lemburg.com/python/