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 _PyMem API#107187

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_pymem
Jul 24, 2023

Conversation

vstinner
Copy link
Member

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

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

  • _PyMem_GetCurrentAllocatorName()
  • _PyMem_RawStrdup()
  • _PyMem_RawWcsdup()
  • _PyMem_Strdup()

No longer export these functions.

Move private _PyMem functions to the internal C API (pycore_pymem.h):* _PyMem_GetCurrentAllocatorName()* _PyMem_RawStrdup()* _PyMem_RawWcsdup()* _PyMem_Strdup()No longer export these functions.
@vstinnervstinnerenabled auto-merge (squash)July 24, 2023 18:24
@vstinnervstinner merged commit3071867 intopython:mainJul 24, 2023
@vstinnervstinner deleted the pycore_pymem branchJuly 24, 2023 18:48
jtcave pushed a commit to jtcave/cpython that referenced this pull requestJul 27, 2023
Move private _PyMem functions to the internal C API (pycore_pymem.h):* _PyMem_GetCurrentAllocatorName()* _PyMem_RawStrdup()* _PyMem_RawWcsdup()* _PyMem_Strdup()No longer export these functions.Move pymem_getallocatorsname() function from _testcapi to _testinternalcapi,since the API moved to the internal C API.
clin1234 added a commit to clin1234/cx_Freeze that referenced this pull requestDec 16, 2024
Because ofpython/cpython#107187, _PyMem_RawStrdup is no longer available publicly when including Python.h in Python 3.13 or later.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@vstinner@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp