Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_functools._lru_list_elem is exposed unintentionally. #88422

Closed
methane opened this issue May 28, 2021 · 4 comments
Closed

_functools._lru_list_elem is exposed unintentionally. #88422

methane opened this issue May 28, 2021 · 4 comments
Labels
3.10 only security fixes 3.11 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@methane
Copy link
Member

methane commented May 28, 2021

BPO 44256
Nosy @methane, @miss-islington
PRs
  • bpo-44256: Do not expose _functools._list_elem_type. #26416
  • [3.10] bpo-44256: Do not expose _functools._list_elem_type (GH-26416) #26418
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-05-28.07:12:11.730>
    created_at = <Date 2021-05-28.01:37:46.550>
    labels = ['extension-modules', 'type-bug', '3.10', '3.11']
    title = '_functools._lru_list_elem is exposed unintentionally.'
    updated_at = <Date 2021-05-28.07:12:11.729>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2021-05-28.07:12:11.729>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-28.07:12:11.730>
    closer = 'methane'
    components = ['Extension Modules']
    creation = <Date 2021-05-28.01:37:46.550>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44256
    keywords = ['patch', '3.10regression']
    message_count = 4.0
    messages = ['394626', '394627', '394632', '394639']
    nosy_count = 2.0
    nosy_names = ['methane', 'miss-islington']
    pr_nums = ['26416', '26418']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44256'
    versions = ['Python 3.10', 'Python 3.11']

    @methane
    Copy link
    Member Author

    methane commented May 28, 2021

    _lru_list_elem is internal data strucuture. It is intended to be used only in _lru_cache_wrapper.
    Until Python 3.9, it is not exposed. But it is exposed by dd3912 accidentally.

    @methane methane added 3.10 only security fixes 3.11 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error labels May 28, 2021
    @methane
    Copy link
    Member Author

    methane commented May 28, 2021

    Ref: #67594.

    @methane
    Copy link
    Member Author

    methane commented May 28, 2021

    New changeset 28be319 by Inada Naoki in branch 'main':
    bpo-44256: Do not expose _functools._list_elem_type (GH-26416)
    28be319

    @methane
    Copy link
    Member Author

    methane commented May 28, 2021

    New changeset 35be1f3 by Miss Islington (bot) in branch '3.10':
    bpo-44256: Do not expose _functools._list_elem_type (GH-26416)
    35be1f3

    @methane methane closed this as completed May 28, 2021
    @methane methane closed this as completed May 28, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes 3.11 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant