Irit Katriel added the comment:
I don't think this change should be made - it would generate the same
information in a slightly different format, which will break existing code
while not making it possible to do anything we can't do now.
--
nosy: +iritkatriel
versions: +Python 3.11 -
S Murthy added the comment:
Docstring for `Instruction` should be more precise. ATM the description of
`starts_line` is
line started by this opcode (if any), otherwise None
I think "source line started ..." would be a bit more precise and accurate.
--
__
New submission from S Murthy :
I note that on disassembling a piece of source code (via source strings or code
objects) the corresponding sequence of bytecode instruction objects
(https://docs.python.org/3/library/dis.html#dis.Instruction) do not always have
the `starts_line` attribute set -