• Barry Warsaw's avatar
    Three new C API functions: · c0dc92af
    Barry Warsaw yazdı
    - int PyErr_GivenExceptionMatches(obj1, obj2)
    
      Returns 1 if obj1 and obj2 are the same object, or if obj1 is an
      instance of type obj2, or of a class derived from obj2
    
    - int PyErr_ExceptionMatches(obj)
    
      Higher level wrapper around PyErr_GivenExceptionMatches() which uses
      PyErr_Occurred() as obj1.  This will be the more commonly called
      function.
    
    - void PyErr_NormalizeException(typeptr, valptr, tbptr)
    
      Normalizes exceptions, and places the normalized values in the
      arguments.  If type is not a class, this does nothing.  If type is a
      class, then it makes sure that value is an instance of the class by:
    
      1. if instance is of the type, or a class derived from type, it does
         nothing.
    
      2. otherwise it instantiates the class, using the value as an
         argument.  If value is None, it uses an empty arg tuple, and if
         the value is a tuple, it uses just that.
    c0dc92af
Adı
Son kayıt (commit)
Son güncelleme
..
Makefile Loading commit data...
Python.h Loading commit data...
abstract.h Loading commit data...
bitset.h Loading commit data...
cStringIO.h Loading commit data...
ceval.h Loading commit data...
classobject.h Loading commit data...
cobject.h Loading commit data...
compile.h Loading commit data...
complexobject.h Loading commit data...
config.h Loading commit data...
dictobject.h Loading commit data...
errcode.h Loading commit data...
eval.h Loading commit data...
fileobject.h Loading commit data...
floatobject.h Loading commit data...
frameobject.h Loading commit data...
funcobject.h Loading commit data...
graminit.h Loading commit data...
grammar.h Loading commit data...
import.h Loading commit data...
intobject.h Loading commit data...
intrcheck.h Loading commit data...
listobject.h Loading commit data...
longintrepr.h Loading commit data...
longobject.h Loading commit data...
marshal.h Loading commit data...
metagrammar.h Loading commit data...
methodobject.h Loading commit data...
modsupport.h Loading commit data...
moduleobject.h Loading commit data...
mymalloc.h Loading commit data...
mymath.h Loading commit data...
myproto.h Loading commit data...
myselect.h Loading commit data...
mytime.h Loading commit data...
node.h Loading commit data...
object.h Loading commit data...
objimpl.h Loading commit data...
opcode.h Loading commit data...
osdefs.h Loading commit data...
parsetok.h Loading commit data...
patchlevel.h Loading commit data...
pgenheaders.h Loading commit data...
pydebug.h Loading commit data...
pyerrors.h Loading commit data...
pyfpe.h Loading commit data...
pystate.h Loading commit data...
pythonrun.h Loading commit data...
pythread.h Loading commit data...
rangeobject.h Loading commit data...
rename1.h Loading commit data...
rename2.h Loading commit data...
sliceobject.h Loading commit data...
stringobject.h Loading commit data...
structmember.h Loading commit data...
sysmodule.h Loading commit data...
thread.h Loading commit data...
token.h Loading commit data...
traceback.h Loading commit data...
tupleobject.h Loading commit data...