/external/python/cpython3/Objects/ |
D | codeobject.c | 100 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument 115 cellvars == NULL || !PyTuple_Check(cellvars) || in PyCode_New() 130 intern_strings(cellvars); in PyCode_New() 134 n_cellvars = PyTuple_GET_SIZE(cellvars); in PyCode_New() 166 PyObject *cell = PyTuple_GET_ITEM(cellvars, i); in PyCode_New() 208 Py_INCREF(cellvars); in PyCode_New() 209 co->co_cellvars = cellvars; in PyCode_New() 356 PyObject *cellvars = NULL, *ourcellvars = NULL; in code_new() local 372 &PyTuple_Type, &cellvars)) in code_new() 407 if (cellvars) in code_new() [all …]
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 95 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument 107 cellvars == NULL || !PyTuple_Check(cellvars) || in PyCode_New() 118 intern_strings(cellvars); in PyCode_New() 136 Py_INCREF(cellvars); in PyCode_New() 137 co->co_cellvars = cellvars; in PyCode_New() 281 PyObject *cellvars = NULL, *ourcellvars = NULL; in code_new() local 296 &PyTuple_Type, &cellvars)) in code_new() 325 if (cellvars) in code_new() 326 ourcellvars = validate_and_copy_tuple(cellvars); in code_new()
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 274 self.cellvars = [] 303 self.cellvars = names 423 for name in self.cellvars: 425 self.cellvars = [name for name in self.varnames 427 for name in self.cellvars: 429 self.cellvars = self.cellvars + cells.keys() 430 self.closure = self.cellvars + self.freevars 544 tuple(self.cellvars))
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 124 cellvars = c.co_cellvars 128 firstlineno, lnotab, freevars, cellvars)
|
/external/python/cpython2/Python/ |
D | marshal.c | 1014 PyObject *cellvars = NULL; in r_object() local 1042 cellvars = r_object(p); in r_object() 1043 if (cellvars == NULL) in r_object() 1059 freevars, cellvars, filename, name, in r_object() 1068 Py_XDECREF(cellvars); in r_object()
|
D | compile.c | 3815 PyObject *cellvars = NULL; in makecode() local 3830 cellvars = dict_keys_inorder(c->u->u_cellvars, 0); in makecode() 3831 if (!cellvars) in makecode() 3833 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode() 3857 freevars, cellvars, in makecode() 3868 Py_XDECREF(cellvars); in makecode()
|
/external/python/cpython3/Doc/c-api/ |
D | code.rst | 36 …sts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filena…
|
/external/python/cpython2/Doc/c-api/ |
D | code.rst | 36 …sts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filena…
|
/external/python/cpython3/Python/ |
D | marshal.c | 1371 PyObject *cellvars = NULL; in r_object() local 1414 cellvars = r_object(p); in r_object() 1415 if (cellvars == NULL) in r_object() 1434 freevars, cellvars, filename, name, in r_object() 1444 Py_XDECREF(cellvars); in r_object()
|
D | compile.c | 5377 PyObject *cellvars = NULL; in makecode() local 5395 cellvars = dict_keys_inorder(c->u->u_cellvars, 0); in makecode() 5396 if (!cellvars) in makecode() 5398 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode() 5429 freevars, cellvars, in makecode() 5439 Py_XDECREF(cellvars); in makecode()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.4rc1.rst | 8 constructor based on freevars and cellvars, rather than needing to be set
|
D | 3.7.0a3.rst | 8 constructor based on freevars and cellvars, rather than needing to be set
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 248 PyCode_New:PyObject*:cellvars:0:
|