generator functions in another language

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun May 4 00:08:34 EDT 2008


On Sat, 03 May 2008 16:39:43 -0700, castironpi wrote:

> I'm actually curious if there's a way to write a generator function
> (not a generator expression) in C, or what the simplest way to do it
> is... besides link the Python run-time.

The reference implementation of Python is written in C, so obviously there
must be a way to write something like generators in C.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list