[Python-apps-team] Bug#592724: cannot cython files with CRLF line endings

Jakub Wilk jwilk at debian.org
Thu Aug 12 10:06:13 UTC 2010


Package: cython
Version: 0.12.1-1.1
Severity: normal

$ printf 'print 42\r\n' > crlf.py

$ python crlf.py
42

$ cython crlf.py

Error converting Pyrex file to C:
------------------------------------------------------------
...
print 42
        ^
------------------------------------------------------------

/tmp/crlf.py:1:8: Unrecognized character


-- System Information:
Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cython depends on:
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  python                       2.6.5-12    interactive high-level object-orie
ii  python-support               1.0.9       automated rebuilding support for P
ii  python2.6                    2.6.6~rc1-1 An interactive high-level object-o

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20100812/389f35f8/attachment.pgp>


More information about the Python-apps-team mailing list