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

gh-117139: Add _PyTuple_FromStackRefSteal and use it #121244

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Jul 1, 2024

This avoids the extra conversion from stack refs to PyObjects.

Avoids the extra conversion from stack refs to PyObjects.
@colesbury
Copy link
Contributor Author

!buildbot nogil refleak

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit 93feb92 🤖

The command will test the builders whose names match following regular expression: nogil refleak

The builders matched are:

  • aarch64 Fedora Rawhide NoGIL refleaks PR
  • PPC64LE Fedora Rawhide NoGIL refleaks PR
  • AMD64 Ubuntu NoGIL Refleaks PR
  • AMD64 Fedora Rawhide NoGIL refleaks PR

@Fidget-Spinner
Copy link
Member

Fidget-Spinner commented Jul 2, 2024

This fixes the refleak on my branch as well right? I assume so since we no longer hide conversions, and it looks right here.

@colesbury
Copy link
Contributor Author

Yes, it should fix the leak as well.

@colesbury colesbury merged commit 8e8d202 into python:main Jul 2, 2024
64 checks passed
@colesbury colesbury deleted the gh-117139-tuple branch July 2, 2024 16:30
Akasurde pushed a commit to Akasurde/cpython that referenced this pull request Jul 3, 2024
…1244)

Avoids the extra conversion from stack refs to PyObjects.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…1244)

Avoids the extra conversion from stack refs to PyObjects.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…1244)

Avoids the extra conversion from stack refs to PyObjects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants