Lines Matching defs:bound
477 bound: set of all symbol names local to a containing function scope
478 free: set of all symbol names referenced but not bound in child scopes
502 PyObject *bound, PyObject *local, PyObject *free,
515 if (bound && (PySet_Discard(bound, name) < 0))
520 if (!bound) {
525 if (!PySet_Contains(bound, name)) {
546 Note that having a non-NULL bound implies that the block
549 if (bound && PySet_Contains(bound, name)) {
628 PyObject *bound, PyObject *free, int classflag)
694 if (bound && !PySet_Contains(bound, name)) {
718 bound -- set of variables bound in enclosing scopes (input). bound
735 analyze_child_block(PySTEntryObject *entry, PyObject *bound, PyObject *free,
739 analyze_block(PySTEntryObject *ste, PyObject *bound, PyObject *free,
748 local = PySet_New(NULL); /* collect new names bound in block */
755 /* Allocate new global and bound variable dictionaries. These
757 ClassBlocks, the bound and global names are initialized
777 nested functions, so populate the global and bound
787 /* Pass down previously bound symbols */
788 if (bound) {
789 temp = PyNumber_InPlaceOr(newbound, bound);
799 bound, local, free, global))
803 /* Populate global and bound sets to be passed to children. */
805 /* Add function locals to bound set */
812 /* Pass down previously bound symbols */
813 if (bound) {
814 temp = PyNumber_InPlaceOr(newbound, bound);
864 if (!update_symbols(ste->ste_symbols, scopes, bound, newfree,
886 analyze_child_block(PySTEntryObject *entry, PyObject *bound, PyObject *free,
892 /* Copy the bound and global dictionaries.
899 temp_bound = PySet_New(bound);
1941 /* Compute store_name, the name actually bound by the import