/external/python/cpython3/Objects/ |
D | codeobject.c | 120 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_NewWithPosOnlyArgs() argument 137 cellvars == NULL || !PyTuple_Check(cellvars) || in PyCode_NewWithPosOnlyArgs() 162 if (intern_strings(cellvars) < 0) { in PyCode_NewWithPosOnlyArgs() 170 n_cellvars = PyTuple_GET_SIZE(cellvars); in PyCode_NewWithPosOnlyArgs() 202 PyObject *cell = PyTuple_GET_ITEM(cellvars, i); in PyCode_NewWithPosOnlyArgs() 245 Py_INCREF(cellvars); in PyCode_NewWithPosOnlyArgs() 246 co->co_cellvars = cellvars; in PyCode_NewWithPosOnlyArgs() 270 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument 276 varnames, freevars, cellvars, filename, in PyCode_New() 459 PyObject *cellvars = NULL, *ourcellvars = NULL; in code_new() local [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/cpython3/Doc/c-api/ |
D | code.rst | 36 …sts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filena… 43 …sts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filena…
|
/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/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 | 1311 PyObject *cellvars = NULL; in r_object() local 1358 cellvars = r_object(p); in r_object() 1359 if (cellvars == NULL) in r_object() 1384 freevars, cellvars, filename, name, in r_object() 1394 Py_XDECREF(cellvars); in r_object()
|
D | compile.c | 5905 PyObject *cellvars = NULL; in makecode() local 5918 cellvars = dict_keys_inorder(c->u->u_cellvars, 0); in makecode() 5919 if (!cellvars) in makecode() 5921 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_GET_SIZE(cellvars)); in makecode() 5927 !merge_const_tuple(c, &cellvars) || in makecode() 5964 varnames, freevars, cellvars, c->c_filename, in makecode() 5972 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 | 249 PyCode_NewWithPosOnlyArgs:PyObject*:cellvars:0: 266 PyCode_New:PyObject*:cellvars:0:
|