]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF patch 637176: list.sort crasher
authorTim Peters <tim.peters@gmail.com>
Tue, 12 Nov 2002 22:08:10 +0000 (22:08 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 12 Nov 2002 22:08:10 +0000 (22:08 +0000)
commitb9099c3df495d4bf0090d7a751325343852b61db
tree02605a750bc4b07c663d01ee61cc75755ab26c67
parent4b9ed2f346921353b34a99332d9efd6ddce3a28b
SF patch 637176: list.sort crasher

Armin Rigo's Draconian but effective fix for

SF bug 453523: list.sort crasher

slightly fiddled to catch more cases of list mutation.  The dreaded
internal "immutable list type" is gone!  OTOH, if you look at a list
*while* it's being sorted now, it will appear to be empty.  Better
than a core dump.
Doc/lib/libstdtypes.tex
Lib/test/test_sort.py
Lib/test/test_types.py
Misc/NEWS
Objects/listobject.c