diff Python/thread.c @ 25371:2bfe44c4dacb 2.2

Backported 1.39 and 1.40 from trunk: 1.39: 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. 1.40: Two more cases of switch(PySequence_Size()) without checking for case -1. (Same problem as last checkin for SF bug 610610) Need to clear the error and proceed.
author Guido van Rossum <guido@python.org>
date Mon, 23 Sep 2002 21:19:44 +0000
parents e223397b26fa
children b898c0feb754
line wrap: on
line diff