Skip to content

Stop using internal APIs in _xxsubinterpretersmodule.c. #89649

Open

Description

@ericsnowcurrently
BPO 45486
Nosy @vstinner, @ericsnowcurrently, @FFY00

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 = None
created_at = <Date 2021-10-15.14:58:34.562>
labels = ['3.11']
title = 'Stop using internal APIs in _xxsubinterpretersmodule.c.'
updated_at = <Date 2021-10-15.18:35:48.170>
user = 'https://github.com/ericsnowcurrently'

bugs.python.org fields:

activity = <Date 2021-10-15.18:35:48.170>
actor = 'FFY00'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2021-10-15.14:58:34.562>
creator = 'eric.snow'
dependencies = []
files = []
hgrepos = []
issue_num = 45486
keywords = []
message_count = 1.0
messages = ['404027']
nosy_count = 3.0
nosy_names = ['vstinner', 'eric.snow', 'FFY00']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue45486'
versions = ['Python 3.11']

Activity

  1. ericsnowcurrently commented on Oct 15, 2021

    @ericsnowcurrently
    MemberAuthor

    By design, _xxsubinterpretersmodule is not supposed to be a builtin module. As a regular extension module it should only use public (or private-but-not-internal) APIs. In fact, I was careful to not use any internal APIs in the implementation. However, some have crept in. The usage of internal API should be replaced with public (or private) API. If necessary, new API should be added.

  2. transferred this issue fromon Apr 10, 2022
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

    3.11only security fixesextension-modulesC modules in the Modules dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions