[Pyrex] compile() got an unexpected keyword argument 'c_only'

Gary Bishop gb at cs.unc.edu
Thu Apr 29 20:55:26 CEST 2004


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




More information about the Pyrex mailing list