[issue30926] KeyError with cgitb inspecting exception in generator expression

2020-09-01 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30926] KeyError with cgitb inspecting exception in generator expression

2020-09-01 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2.7 is no longer supported, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue30926] KeyError with cgitb inspecting exception in generator expression

2017-07-13 Thread Jason R. Coombs
New submission from Jason R. Coombs: Consider this script, which runs successfully on Python 3: import cgitb import sys def fiter(): assert False yield 1, 1 yield 2, 2 yield 3, 3 try: x = set(id_ for id_, _ in fiter()) except: print cgitb.html(sys.exc_info()) Run