Skip to content

Lazily compute lineno of tracebacks for efficient exception handling  #95238

Closed
@kumaraditya303

Description

@kumaraditya303

By lazily computing tb_lineno of tracebacks, we can avoid parsing the line and column table and avoid a lot of overhead that comes with accessing line number information.

See faster-cpython/ideas#407 for discussion.

Metadata

Metadata

Labels

3.12only security fixesperformancePerformance or resource usagetriagedThe issue has been accepted as valid by a triager.type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions