PEP 255: Simple Generators

Simon Brunning SBrunning at
Wed Jun 20 04:05:10 EDT 2001

> From:	Tim Peters [ at]
> The title of the PEP is "Simple Generators", and the adjective is
> important:
> these will never make it in if they explode anyone's head, and this isn't
> meant to be esoteric wizard stuff but useful to everyday programmers.
I just started to think about what would happen if a generator called itself
recursively, but I had to stop when my brain started leaking out through my

Simon Brunning
TriSystems Ltd.
sbrunning at

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.

More information about the Python-list mailing list