]> granicus.if.org Git - python/commit
SF bug #1242657: list(obj) can swallow KeyboardInterrupt
authorRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 11:03:59 +0000 (11:03 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 11:03:59 +0000 (11:03 +0000)
commita710b331daee9e79ca90395feb6ce8c552e00568
treea00e825052dabf853c875136b3e1832742634879
parentb285974c00fbf51af727d9330fa90443177390f4
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