logo       

re: compile() got an unexpected keyword argument 'c_only': msg#00057

python.pyrex

Subject: re: compile() got an unexpected keyword argument 'c_only'

In Pyrex-0.9.1/Pyrex/Distutils/build_ext.py

changing

def pyrex_compile(self, source):
result = Pyrex.Compiler.Main.compile(source, c_only=1)
if result.num_errors <> 0:
sys.exit(1)

to

def pyrex_compile(self, source):
result = Pyrex.Compiler.Main.compile(source, c_compile=1)
if result.num_errors <> 0:
sys.exit(1)

seems to fix it.

gb


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise