This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients DragonFireCK, Michel Desmoulin, Samuel BOVÉE, amaury.forgeotdarc, benjamin.peterson, brandjon, dangyogi, daniel.urban, georg.brandl, gpolo, hagen, jaraco, kcarnold, martin.panter, ncoghlan, pfctdayelise, pitrou, python-dev, r.david.murray, ron_adam, terry.reedy, yselivanov
Date 2018-04-16.14:11:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I believe I encountered this issue today on Python 2.7.14 ( 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?
Date User Action Args
2018-04-16 14:11:56jaracosetrecipients: + jaraco, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, pitrou, ron_adam, dangyogi, benjamin.peterson, gpolo, hagen, kcarnold, r.david.murray, daniel.urban, python-dev, pfctdayelise, martin.panter, brandjon, yselivanov, DragonFireCK, Samuel BOVÉE, Michel Desmoulin
2018-04-16 14:11:55jaracosetmessageid: <>
2018-04-16 14:11:55jaracolinkissue4806 messages
2018-04-16 14:11:55jaracocreate