Generators and weakref

Martin v. Loewis martin at v.loewis.de
Tue Aug 6 04:58:39 EDT 2002


Rich Harkins <rich at worldsinfinite.com> 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
2.3.

Regards,
Martin



More information about the Python-list mailing list