summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-09-18 04:06:32 (GMT)
committerGuido van Rossum <guido@python.org>2002-09-18 04:06:32 (GMT)
commit98b2a42bc48a82718b36b9da094b1f6d24825967 (patch)
treef193fcd830480b1bad404937ca12ad5e01e79392 /Objects
parent5fab9c67eba274effd05c8b518d0eaad7a98103d (diff)
downloadcpython-98b2a42bc48a82718b36b9da094b1f6d24825967.zip
cpython-98b2a42bc48a82718b36b9da094b1f6d24825967.tar.gz
cpython-98b2a42bc48a82718b36b9da094b1f6d24825967.tar.bz2
Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).
The switch in Exception__str__ didn't clear the error if PySequence_Size() raised an exception. Added a case -1 which clears the error and falls through to the default case. Definite backport candidate (this dates all the way to Python 2.0).
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions