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 <1523887915.94.0.682650639539.issue4806@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
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: <1523887915.94.0.682650639539.issue4806@psf.upfronthosting.co.za>
2018-04-16 14:11:55jaracolinkissue4806 messages
2018-04-16 14:11:55jaracocreate