File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 :synopsis: Disassembler for Python bytecode.
66
77
8- The :mod: `dis ` module supports the analysis of Python :term: `bytecode ` by
9- disassembling it. Since there is no Python assembler, this module defines the
10- Python assembly language. The Python bytecode which this module takes as an
8+ The :mod: `dis ` module supports the analysis of CPython :term: `bytecode ` by
9+ disassembling it. The CPython bytecode which this module takes as an
1110input is defined in the file :file: `Include/opcode.h ` and used by the compiler
1211and the interpreter.
1312
13+ .. impl-detail ::
14+
15+ Bytecode is an implementation detail of the CPython interpreter! No
16+ guarantees are made that bytecode will not be added, removed, or changed
17+ between versions of Python. Use of this module should not be considered to
18+ work across Python VMs or Python releases.
19+
1420Example: Given the function :func: `myfunc `::
1521
1622 def myfunc(alist):
Original file line number Diff line number Diff line change @@ -363,6 +363,12 @@ Tests
363363- Issue #8193: Fix test_zlib failure with zlib 1.2.4.
364364
365365
366+ Documentation
367+ -------------
368+
369+ - Issue #7829: Document in dis that bytecode is an implementation detail.
370+
371+
366372What's New in Python 3.1.2?
367373===========================
368374
You can’t perform that action at this time.
0 commit comments