Kenneth Arnold <kenneth.arn...@gmail.com> added the comment: I can confirm that (a) this exact behavior is happening and (b) it quite confused me (most of the time it works!). What would be a "good" TypeError? I'd vote for generators to be explicitly supported even if it required a special case. Thanks!
---------- nosy: +kcarnold _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4806> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com