Lines Matching defs:PyCodeObject
18 struct PyCodeObject { struct
20 int co_argcount; /* #arguments, except *args */
21 int co_posonlyargcount; /* #positional only arguments */
22 int co_kwonlyargcount; /* #keyword only arguments */
23 int co_nlocals; /* #local variables */
24 int co_stacksize; /* #entries needed for evaluation stack */
25 int co_flags; /* CO_..., see below */
26 int co_firstlineno; /* first source line number */
27 PyObject *co_code; /* instruction opcodes */
28 PyObject *co_consts; /* list (constants used) */
29 PyObject *co_names; /* list of strings (names used) */
30 PyObject *co_varnames; /* tuple of strings (local variable names) */
31 PyObject *co_freevars; /* tuple of strings (free variable names) */
32 PyObject *co_cellvars; /* tuple of strings (cell variable names) */
38 Py_ssize_t *co_cell2arg; /* Maps cell vars which are arguments. */
39 PyObject *co_filename; /* unicode (where it was loaded from) */
40 PyObject *co_name; /* unicode (name, for reference) */
41 PyObject *co_linetable; /* string (encoding addr<->lineno mapping) See
43 void *co_zombieframe; /* for optimization only (see frameobject.c) */
44 PyObject *co_weakreflist; /* to support weakrefs to code objects */
48 void *co_extra;
60 unsigned char *co_opcache_map;
61 _PyOpcache *co_opcache;
62 int co_opcache_flag; // used to determine when create a cache.
63 unsigned char co_opcache_size; // length of co_opcache.