]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #1242657: list(obj) can swallow KeyboardInterrupt
authorRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 11:09:58 +0000 (11:09 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 11:09:58 +0000 (11:09 +0000)
commit9314d3261d5b81dca1a997a698b5d01f6a04299e
tree544513d5922d720bb9afa394fe94c17647707297
parent8c86f88af8321fea0ab581b36e03e6acd4d1bc41
SF bug #1242657:   list(obj) can swallow KeyboardInterrupt

Fix over-aggressive PyErr_Clear().  The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().
Lib/test/list_tests.py
Objects/abstract.c
Objects/listobject.c
Python/bltinmodule.c