]> granicus.if.org Git - python/commit
Make sure the list.sort's decorate step unwinds itself before returning
authorRaymond Hettinger <python@rcn.com>
Fri, 28 Nov 2003 21:43:02 +0000 (21:43 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 28 Nov 2003 21:43:02 +0000 (21:43 +0000)
commit37e136373e0d9ab3bdf25ecd9c42b86281ed21d3
treefc0caf815fcf3da64a1a031065f1ee3f9c3f27c4
parentb3105911697d57098e9770078d89475f83274344
Make sure the list.sort's decorate step unwinds itself before returning
an exception raised by the key function.
(Suggested by Michael Hudson.)
Lib/test/test_sort.py
Objects/listobject.c