mirror of
https://github.com/python/cpython.git
synced 2026-01-19 13:50:27 +00:00
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals. |
||
|---|---|---|
| .. | ||
| darwin | ||
| libffi | ||
| libffi_arm_wince | ||
| libffi_msvc | ||
| libffi_osx | ||
| _ctypes.c | ||
| _ctypes_test.c | ||
| _ctypes_test.h | ||
| callbacks.c | ||
| callproc.c | ||
| cfield.c | ||
| ctypes.h | ||
| ctypes_dlfcn.h | ||
| libffi.diff | ||
| malloc_closure.c | ||
| stgdict.c | ||