[Pyrex] Cython-0.9.6 (incompatibility to Pyrex)

Helmut Jarausch jarausch at skynet.be
Sun Jul 29 12:46:52 CEST 2007


On 28 Jul, William Stein wrote:
> Hello Pyrex List and Sage-devel,
> 
> I've released Cython-0.9.6 at http://www.cython.org/.   I hope Cython
> can be thought
> of as a "bleading edge" derivative of Pyrex (not a fork).

I've just tried cyton-0.9.6.1 on one of my projects.

(I'm using python 2.5 on a GenToo system)
After python setup.py install

I tried (the patched version (for Python 2.5) of Pyrex-0.9.5.1) works
just fine on this file


cython APSM.pyx  (run as non-root user, no write permission on /usr/lib/....)

but I got

Lexicon hash mismatch:
   expected 41b726e35f7afc0d74cab55e444efd7b
   got      28ec610462e70a00ce9be6f4436d9d2d
Creating lexicon...
Done (0.24 seconds)
Warning: Unable to save pickled lexicon in /usr/lib/python2.5/site-packages/Cython/Compiler/Lexicon.pickle

Error converting Pyrex file to C:
------------------------------------------------------------
...
def set_Scanner_defaults(D):
  global Scanner_defaults
  if D  and  len(D) == 6 :
    Scanner_defaults= D
  else :
    raise ValueErr,"call as set_Scanner_defaults([T,S,I,D,W,C])"
         ^
------------------------------------------------------------

/home/jarausch/Python_My/Pyrex/APSM/CYTHON/APSM.pyx:515:10: undeclared name not builtin: ValueErr

Many thanks for looking into it,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



More information about the Pyrex mailing list