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 commented on 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 commented on Mar 24, 2026
Thanks for the clarification!
That makes sense regarding PEPs being kept as historical records.
hugovk commented on Mar 24, 2026
Let's mark this as a duplicate of #134690 and continue discussion there.