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

Stop using internal APIs in _xxsubinterpretersmodule.c. #89649

Open
ericsnowcurrently opened this issue Oct 15, 2021 · 1 comment
Open

Stop using internal APIs in _xxsubinterpretersmodule.c. #89649

ericsnowcurrently opened this issue Oct 15, 2021 · 1 comment
Labels
3.11 bug and security fixes extension-modules C modules in the Modules dir

Comments

@ericsnowcurrently
Copy link
Member

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']

@ericsnowcurrently
Copy link
Member Author

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.

@ericsnowcurrently ericsnowcurrently added the 3.11 bug and security fixes label Oct 15, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@iritkatriel iritkatriel added the extension-modules C modules in the Modules dir label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 bug and security fixes extension-modules C modules in the Modules dir
Projects
None yet
Development

No branches or pull requests

2 participants