gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c by vstinner · Pull Request #121493 · python/cpython · GitHub
Skip to content

gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c - #121493

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_always_inline
Jul 18, 2024
Merged

gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c#121493
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_always_inline

Conversation

@vstinner

@vstinner vstinner commented Jul 8, 2024

Copy link
Copy Markdown
Member

compare_unicode_generic(), compare_unicode_unicode() and compare_generic() are callbacks used by do_lookup(). When enabling assertions, it's not possible to inline these functions.

@vstinner

vstinner commented Jul 8, 2024

Copy link
Copy Markdown
Member Author

Comment thread Objects/dictobject.c Outdated
compare_unicode_generic(), compare_unicode_unicode() and
compare_generic() are callbacks used by do_lookup(). When enabling
assertions, it's not possible to inline these functions.
@vstinner
vstinner force-pushed the remove_always_inline branch from cd9b693 to cc02eac Compare July 17, 2024 19:54
@vstinner

Copy link
Copy Markdown
Member Author

@methane: Would you mind to review the rebased PR?

@vstinner
vstinner merged commit c5a6b9a into python:main Jul 18, 2024
@vstinner
vstinner deleted the remove_always_inline branch July 18, 2024 06:19
@vstinner vstinner added the needs backport to 3.13 bugs and security fixes label Jul 21, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 21, 2024
…1493)

compare_unicode_generic(), compare_unicode_unicode() and
compare_generic() are callbacks used by do_lookup(). When enabling
assertions, it's not possible to inline these functions.
(cherry picked from commit c5a6b9a)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app

bedevere-app Bot commented Jul 21, 2024

Copy link
Copy Markdown

GH-122095 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 21, 2024
vstinner added a commit that referenced this pull request Jul 21, 2024
…#122095)

gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (GH-121493)

compare_unicode_generic(), compare_unicode_unicode() and
compare_generic() are callbacks used by do_lookup(). When enabling
assertions, it's not possible to inline these functions.
(cherry picked from commit c5a6b9a)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

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.

4 participants