GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PEP 626: outdated timeline for `co_lnotab` deprecation/removal · Issue #146361 · python/cpython

PEP 626: outdated timeline for co_lnotab deprecation/removal #146361

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
PEP 626: outdated timeline for co_lnotab deprecation/removal#146361
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided

Description

@HongchengFan
HongchengFan
opened on Mar 24, 2026
Issue body actions

Documentation

PEP 626 (https://peps.python.org/pep-0626/) currently states that:

"The co_lnotab attribute will be deprecated in 3.10 and removed in 3.12."

However, the current documentation and runtime behavior no longer match this timeline:

  • The Data Model documentation says that co_lnotab is deprecated since 3.12 and may be removed in 3.15:
    https://docs.python.org/3/reference/datamodel.html#code-objects

  • 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

  1. HongchengFan
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Mar 24, 2026
  2. github-project-automation
    added this to docs issueson Mar 24, 2026
  3. github-project-automation
    moved this to Todo in docs issueson Mar 24, 2026
  4. sergey-miryanov commented on Mar 24, 2026

    @sergey-miryanov
    sergey-miryanov
    on Mar 24, 2026
    Contributor
    More actions

    PEP has a final status, and it serves historical reasons now. We usually don't update PEPs in the final state.

  5. sergey-miryanov
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Mar 24, 2026
  6. HongchengFan commented on Mar 24, 2026

    @HongchengFan
    HongchengFan
    on Mar 24, 2026
    Author
    More actions

    Thanks for the clarification!

    That makes sense regarding PEPs being kept as historical records.

  7. hugovk commented on Mar 24, 2026

    @hugovk
    hugovk
    on Mar 24, 2026
    Member
    More actions

    Let's mark this as a duplicate of #134690 and continue discussion there.

  8. hugovk
    closed this as a duplicateof Remove deprecated co_lnotab from CodeType #134690 on Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided

    Projects

    • docs issues
      Status
      Todo
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.