]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_PyTuple_Resize: take into account the empty tuple. There can be only one.
authorThomas Wouters <thomas@python.org>
Mon, 28 May 2001 13:04:33 +0000 (13:04 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 28 May 2001 13:04:33 +0000 (13:04 +0000)
commitfbed5be9e13144f80a30b90dbd670131fdaba51e
treec0d0e8c5534d2f60d187a421a3974a993a736ceb
parentd9289f0c0b9421878cf020bc0fb5c7205d70db0b
_PyTuple_Resize: take into account the empty tuple. There can be only one.
Instead of raising a SystemError, just create a new tuple of the desired
size.

This fixes (at least) SF bug #420343.
Objects/tupleobject.c