Skip to content

Fix line numbers generated by the compiler #469

Closed
@iritkatriel

Description

@iritkatriel

The line number calculation is a little off in a few places, and involves some guesswork and estimation. This issue is to make it more accurate, so that we can safely move this code to before the optimization stage (see python/cpython#87092).

Particular issues:
python/cpython#98390
python/cpython#98398
python/cpython#98442
python/cpython#98461
python/cpython#98762

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions