You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PEP 626: outdated timeline for co_lnotab deprecation/removal #146361
In practice, Python 3.12–3.14 still expose co_lnotab and emit: DeprecationWarning: co_lnotab is deprecated, use co_lines instead
while Python 3.10–3.11 do not emit this warning.
This suggests that the PEP reflects the original plan, but not the current behavior.
It would be helpful to update PEP 626 to reflect the current status, or add a note clarifying that the deprecation/removal schedule has changed. This may be intentional, but it would be helpful to clarify.
Activity
sergey-miryanov commentedon Mar 24, 2026
PEP has a final status, and it serves historical reasons now. We usually don't update PEPs in the final state.
HongchengFan commentedon Mar 24, 2026
Thanks for the clarification!
That makes sense regarding PEPs being kept as historical records.
hugovk commentedon Mar 24, 2026
Let's mark this as a duplicate of #134690 and continue discussion there.
co_lnotabfromCodeType#134690