Jason R. Coombs <jar...@jaraco.com> added the comment: I believe I encountered this issue today on Python 2.7.14 (https://ci.appveyor.com/project/jaraco/jaraco-windows/build/31/job/lenh5l4dcmj137b9). In this case, I have an iterable (in itertools.imap) that raises a TypeError when evaluated, not a generator.
The issue doesn't happen on Python 3, where 'map' is used instead of itertools.imap. Does this patch need to be extended to support any iterable? ---------- nosy: +jason.coombs _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue4806> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com