Lines Matching refs:bytecode
1 :mod:`dis` --- Disassembler for Python bytecode
5 :synopsis: Disassembler for Python bytecode.
11 The :mod:`dis` module supports the analysis of CPython :term:`bytecode` by
12 disassembling it. The CPython bytecode which this module takes as an input is
19 guarantees are made that bytecode will not be added, removed, or changed
49 The bytecode analysis API allows pieces of Python code to be wrapped in a
56 Analyse the bytecode corresponding to a function, generator, asynchronous
62 instance yields the bytecode operations as :class:`Instruction` instances.
88 Return a formatted view of the bytecode operations (the same as printed by
101 >>> bytecode = dis.Bytecode(myfunc)
102 >>> for instr in bytecode:
153 a code object, a string of source code or a byte sequence of raw bytecode.
156 sequence of raw bytecode, it prints one line per bytecode instruction.
247 Detect all offsets in the raw compiled bytecode string *code* which are jump targets, and
272 details of bytecode instructions as :class:`Instruction` instances:
276 Details for a bytecode operation
281 below and the bytecode values in the :ref:`opcode_collections`.
306 start index of operation within bytecode sequence
321 The Python compiler currently generates the following bytecode instructions.
328 Do nothing code. Used as a placeholder by the bytecode optimizer.
987 Increments bytecode counter by *delta*.
992 If TOS is true, sets the bytecode counter to *target*. TOS is popped.
999 If TOS is false, sets the bytecode counter to *target*. TOS is popped.
1013 If TOS is true, sets the bytecode counter to *target* and leaves TOS on the
1021 If TOS is false, sets the bytecode counter to *target* and leaves TOS on the
1029 Set bytecode counter to *target*.
1165 This bytecode distinguishes two cases: if TOS has a method with the correct
1166 name, the bytecode pushes the unbound method and TOS. TOS will be used as
1286 These collections are provided for automatic introspection of bytecode
1291 Sequence of operation names, indexable using the bytecode.