Mercurial > cpython-lru_cache-weakref
view Python/dynload_stub.c @ 22194:fc6dc2ea25cf legacy-trunk
Fix leak of NotImplemented in previous checkin to PyNumber_Add().
If result == Py_NotImplemented, always DECREF it before assigning a
new value to result.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Fri, 08 Mar 2002 21:28:54 +0000 |
| parents | 6f6f965c5e2d |
| children | 257cbd2fac38 |
line wrap: on
line source
/* This module provides the necessary stubs for when dynamic loading is not present. */ #include "Python.h" #include "importdl.h" const struct filedescr _PyImport_DynLoadFiletab[] = { {0, 0} };
