Generators and weakref

Martin v. Loewis martin at
Tue Aug 6 10:58:39 CEST 2002

Rich Harkins <rich at> writes:

> Python 2.2.1 (and earlier I assume) won't let me weakly reference a
> generator.  Is that intended or a bug?

I can't see a reason for this limitation, so feel free to submit a
bugreport at sourceforge. Notice that fixing this bug means to extend
the layout of struct genobject, so you won't get a fix before Python


More information about the Python-list mailing list