Lines Matching refs:markobject
788 markobject = StackObject(
807 This is used in conjuction with markobject, to represent all
808 of the stack following the topmost markobject. For example,
811 [..., markobject, stackslice]
816 markobject, POP_MARK gets rid of all of them (including the
817 topmost markobject too).
1158 stack_before=[pylist, markobject, stackslice],
1163 Stack before: ... pylist markobject stackslice
1172 stack_before=[markobject, stackslice],
1175 doc="""Build a list out of the topmost stack slice, after markobject.
1177 All the stack entries following the topmost markobject are placed into
1179 stack from the topmost markobject onward. For example,
1181 Stack before: ... markobject 1 2 3 'abc'
1198 stack_before=[markobject, stackslice],
1201 doc="""Build a tuple out of the topmost stack slice, after markobject.
1203 All the stack entries following the topmost markobject are placed into
1205 stack from the topmost markobject onward. For example,
1207 Stack before: ... markobject 1 2 3 'abc'
1269 stack_before=[markobject, stackslice],
1272 doc="""Build a dict out of the topmost stack slice, after markobject.
1274 All the stack entries following the topmost markobject are placed into
1276 stack from the topmost markobject onward. The stack slice alternates
1279 Stack before: ... markobject 1 2 3 'abc'
1300 stack_before=[pydict, markobject, stackslice],
1305 The slice of the stack following the topmost markobject is taken as
1307 immediately under the topmost markobject. Everything at and after the
1308 topmost markobject is popped, leaving the mutated dict at the top
1311 Stack before: ... pydict markobject key_1 value_1 ... key_n value_n
1340 stack_after=[markobject],
1342 doc="""Push markobject onto the stack.
1344 markobject is a unique object, used by other opcodes to identify a
1346 to work on. See markobject.doc for more detail.
1352 stack_before=[markobject, stackslice],
1355 doc="""Pop all the stack objects at and above the topmost markobject.
1358 POP_MARK is used to remove those objects, and to remove the markobject
1573 stack_before=[markobject, stackslice],
1585 markobject are gathered into a tuple and popped (along with the
1586 topmost markobject), just as for the TUPLE opcode.
1590 + The argtuple is empty (markobject was at the top of the stack
1629 stack_before=[markobject, anyobject, stackslice],
1643 topmost markobject:
1645 Stack before: ... markobject classobject stackslice
1648 As for INST, the remainder of the stack above the markobject is
1916 + When an opcode implicitly refers to a markobject, a markobject is
1921 + The markobject isn't stored in the memo.
1952 if markobject in before or (opcode.name == "POP" and
1954 stack[-1] is markobject):
1955 assert markobject not in after
1957 if markobject in before:
1965 # Pop everything at and after the topmost markobject.
1966 while stack[-1] is not markobject:
1971 numtopop = before.index(markobject)
1985 elif stack[-1] is markobject:
1986 errormsg = "can't store markobject in the memo"
2017 if markobject in after:
2018 assert markobject not in before