[Pyrex] while loop not detecting ctrl-c

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Nov 27 00:32:15 CET 2003


Andreas Kostyrka <andreas at mtg.co.at>:

> What about a "lambda *args: None" in Pyrex? I mean, that should do the
> trick in Pyrex too, as Pyrex probably would be forced to generate the
> lambda object, right?

Pyrex doesn't currently have lambda, and if it ever does,
it will probably create a Pyrex function rather than an
interpreted Python function.

The solution posted earlier using eval() does create an
interpreted function, however.

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