[Pyrex] Missing declaration --> segfault

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Jul 22 01:57:35 CEST 2003


John J Lee <jjl at pobox.com>:

> If I fail to declare a particular macro definition in my wrapper, I get a
> segfault at runtime when the macro is reached.  Shouldn't NameError get
> raised, instead?

On the face of it, yes. Either there's a bug, or something
else is going on in your code.

> I haven't got a short demo of the problem, but I can upload my code in
> full somewhere, if it's useful.

A short demo would be preferable, but anything you can provide
would be useful.

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




More information about the Pyrex mailing list