[Distutils] lineendings

Robin Becker robin@jessikat.fsnet.co.uk
Tue Oct 15 15:38:01 2002


In article <3DAC69C3.10800@lemburg.com>, M.-A. Lemburg <mal@lemburg.com>
writes
>Robin Becker wrote:
>> Does distutils know or care about text file line endings? I ask only
>> because I would like to be able to build pure python distros and have
>> them work properly on multiple platforms.
>
>Why do you think you need support for line ends in distutils ?
>For text data files, maybe ? (Python doesn't have a problem with
>them for source code.)
>
well it certainly does in python-2.2.2 and there's pep 278 which seems
to be concerned as well.

Try entering 

import a, \
        b

in mac format and then execute on a windows box. I see the following


C:\>\tmp\ttt.py
  File "C:\tmp\ttt.py", line 1
    rlextrareportlab,\
                                 ^
SyntaxError: invalid token


-- 
Robin Becker