[Pyrex] problem with pyrex and cx_freeze (like py2exe)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 12 07:27:52 CEST 2005


Robby Dermody wrote:

>  if (PyType_Ready(&__pyx_type_8ar_voice_pendingOp) < 0) {__pyx_filename 
> = __pyx_f[0]; __pyx_lineno = 37; goto __pyx_L1;}
> 
> ^^^ fails at this PyType_Ready call,

Fails in what way? A hard crash, or an exception? If
an exception, what kind?

 > Maybe this is what Greg meant by "unsupported" and "wacky
> python behaviour",

Something like that, yes. :-)

By the way, are you aware that extension types can have
C methods? This provides a way of making cross-module
C calls that are almost as fast as possible (just an
indirection through a table of function pointers).

As another alternative, the include statement makes
it possible to have a single module made up from
multiple Pyrex source files.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+



More information about the Pyrex mailing list