Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-106320: Remove private _PyList function#108451

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:mainfromvstinner:pycore_list
Aug 24, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedAug 24, 2023
edited by bedevere-bot
Loading

Move private functions to the internal C API (pycore_list.h):

  • _PyList_Extend()
  • _PyList_DebugMallocStats()

No longer export these functions.

Move private functions to the internal C API (pycore_list.h):* _PyList_Extend()* _PyList_DebugMallocStats()No longer export these functions.
@scoder
Copy link
Contributor

scoder commentedOct 20, 2023
edited
Loading

What is the intended replacement for_PyList_Extend() ?
Admittedly, there are several alternatives, so this is not a required part of the C-API. The function was just nice to have.

@vstinner
Copy link
MemberAuthor

What is the intended replacement for _PyList_Extend() ?

I created issuegh-111138 to discuss it.

musicinmybrain added a commit to musicinmybrain/pyrsistent that referenced this pull requestOct 26, 2023
This private function is no longer exported in Python 3.13.It is possible that a PyList_Extend() function-like macro may be addedbefore Python 3.13 final, but using PyList_SetSlice() directly willstill work.python/cpython#108451python/cpython#111138
musicinmybrain added a commit to musicinmybrain/pyrsistent that referenced this pull requestOct 26, 2023
This private function is no longer exported in Python 3.13.It is possible that a PyList_Extend() function-like macro may be addedbefore Python 3.13 final, but using PyList_SetSlice() directly willstill work.python/cpython#108451python/cpython#111138
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@vstinner@scoder@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp