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

Allocate PyExpat_CAPI capsule on heap #101797

Closed
kumaraditya303 opened this issue Feb 10, 2023 · 0 comments · Fixed by #101798
Closed

Allocate PyExpat_CAPI capsule on heap #101797

kumaraditya303 opened this issue Feb 10, 2023 · 0 comments · Fixed by #101798
Assignees
Labels
3.12 bugs and security fixes topic-subinterpreters type-bug An unexpected behavior, bug, or error

Comments

@kumaraditya303
Copy link
Contributor

kumaraditya303 commented Feb 10, 2023

To make it compatible with sub-interpreters it needs to be allocated on heap rather than static storage.

Linked PRs

@kumaraditya303 kumaraditya303 added type-bug An unexpected behavior, bug, or error topic-subinterpreters 3.12 bugs and security fixes labels Feb 10, 2023
@kumaraditya303 kumaraditya303 self-assigned this Feb 10, 2023
@kumaraditya303 kumaraditya303 linked a pull request Feb 10, 2023 that will close this issue
carljm added a commit to carljm/cpython that referenced this issue Feb 13, 2023
* main:
  pythongh-101810: Remove duplicated st_ino calculation (pythonGH-101811)
  pythongh-92547: Purge sqlite3_enable_shared_cache() detection from configure (python#101873)
  pythonGH-100987: Refactor `_PyInterpreterFrame` a bit, to assist generator improvement. (pythonGH-100988)
  pythonGH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (pythonGH-101788)
  Correct trivial grammar in reset_mock docs (python#101861)
  pythongh-101845: pyspecific: Fix i18n for availability directive (pythonGH-101846)
  pythongh-89792: Limit test_tools freeze test build parallelism based on the number of cores (python#101841)
  pythongh-85984: Utilize new "winsize" functions from termios in pty tests. (python#101831)
  pythongh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (python#101837)
  Fix typo in test_fstring.py (python#101823)
  pythonGH-101797: allocate `PyExpat_CAPI` capsule on heap (python#101798)
  pythongh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (pythonGH-101391)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes topic-subinterpreters type-bug An unexpected behavior, bug, or error
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant