Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision ef582abab461e306ac3fa0ad867b2db564fed3a5 authored by Guido van Rossum on 10 April 2003, 20:30:18 UTC, committed by Guido van Rossum on 10 April 2003, 20:30:18 UTC
PyErr_NormalizeException(): in the type==NULL test, we should simply return. Setting an exception can mess with the exception state, and continuing is definitely wrong (since type is dereferenced later on). Some code that calls this seems to be prepared for a NULL exception type, so let's be safe rather than sorry and simply assume there's nothing to normalize in this case.
1 parent d065a13
Tip revision: ef582abab461e306ac3fa0ad867b2db564fed3a5 authored by Guido van Rossum on 10 April 2003, 20:30:18 UTC
Backport:
Backport:
Tip revision: ef582ab
File | Mode | Size |
---|---|---|
Python.h | -rw-r--r-- | 3.0 KB |
abstract.h | -rw-r--r-- | 35.6 KB |
bitset.h | -rw-r--r-- | 792 bytes |
bufferobject.h | -rw-r--r-- | 929 bytes |
cStringIO.h | -rw-r--r-- | 4.0 KB |
cellobject.h | -rw-r--r-- | 632 bytes |
ceval.h | -rw-r--r-- | 3.8 KB |
classobject.h | -rw-r--r-- | 2.9 KB |
cobject.h | -rw-r--r-- | 1.7 KB |
codecs.h | -rw-r--r-- | 3.3 KB |
compile.h | -rw-r--r-- | 3.0 KB |
complexobject.h | -rw-r--r-- | 1.5 KB |
descrobject.h | -rw-r--r-- | 2.0 KB |
dictobject.h | -rw-r--r-- | 4.9 KB |
errcode.h | -rw-r--r-- | 1.1 KB |
eval.h | -rw-r--r-- | 478 bytes |
fileobject.h | -rw-r--r-- | 1.2 KB |
floatobject.h | -rw-r--r-- | 1.8 KB |
frameobject.h | -rw-r--r-- | 3.0 KB |
funcobject.h | -rw-r--r-- | 1.7 KB |
graminit.h | -rw-r--r-- | 1.4 KB |
grammar.h | -rw-r--r-- | 2.0 KB |
import.h | -rw-r--r-- | 1.5 KB |
intobject.h | -rw-r--r-- | 2.3 KB |
intrcheck.h | -rw-r--r-- | 285 bytes |
iterobject.h | -rw-r--r-- | 550 bytes |
listobject.h | -rw-r--r-- | 1.8 KB |
longintrepr.h | -rw-r--r-- | 1.8 KB |
longobject.h | -rw-r--r-- | 4.0 KB |
marshal.h | -rw-r--r-- | 710 bytes |
metagrammar.h | -rw-r--r-- | 253 bytes |
methodobject.h | -rw-r--r-- | 2.0 KB |
modsupport.h | -rw-r--r-- | 3.4 KB |
moduleobject.h | -rw-r--r-- | 641 bytes |
node.h | -rw-r--r-- | 828 bytes |
object.h | -rw-r--r-- | 24.3 KB |
objimpl.h | -rw-r--r-- | 12.7 KB |
opcode.h | -rw-r--r-- | 4.2 KB |
osdefs.h | -rw-r--r-- | 903 bytes |
parsetok.h | -rw-r--r-- | 927 bytes |
patchlevel.h | -rw-r--r-- | 1.2 KB |
pgenheaders.h | -rw-r--r-- | 1.4 KB |
py_curses.h | -rw-r--r-- | 3.8 KB |
pydebug.h | -rw-r--r-- | 1.1 KB |
pyerrors.h | -rw-r--r-- | 5.2 KB |
pyfpe.h | -rw-r--r-- | 8.3 KB |
pygetopt.h | -rw-r--r-- | 323 bytes |
pymactoolbox.h | -rw-r--r-- | 7.4 KB |
pymem.h | -rw-r--r-- | 5.1 KB |
pyport.h | -rw-r--r-- | 14.8 KB |
pystate.h | -rw-r--r-- | 2.9 KB |
pythonrun.h | -rw-r--r-- | 4.7 KB |
pythread.h | -rw-r--r-- | 1.4 KB |
rangeobject.h | -rw-r--r-- | 613 bytes |
sliceobject.h | -rw-r--r-- | 971 bytes |
stringobject.h | -rw-r--r-- | 6.1 KB |
structmember.h | -rw-r--r-- | 2.5 KB |
structseq.h | -rw-r--r-- | 851 bytes |
symtable.h | -rw-r--r-- | 3.5 KB |
sysmodule.h | -rw-r--r-- | 816 bytes |
token.h | -rw-r--r-- | 1.7 KB |
traceback.h | -rw-r--r-- | 477 bytes |
tupleobject.h | -rw-r--r-- | 1.6 KB |
ucnhash.h | -rw-r--r-- | 682 bytes |
unicodeobject.h | -rw-r--r-- | 39.4 KB |
weakrefobject.h | -rw-r--r-- | 1.4 KB |
Computing file changes ...