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-132775: Fix _PyFunctIon_VerifyStateless()#134900

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

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commentedMay 29, 2025
edited by bedevere-appbot
Loading

The problem we're fixing here is that we were usingPyDict_Size() on "defaults", which it is actually a tuple. We're also adding some explicit type checks.

This is a follow-up togh-133221/gh-133528.

@ericsnowcurrentlyericsnowcurrentlyenabled auto-merge (squash)May 29, 2025 19:49
@ericsnowcurrentlyericsnowcurrently merged commitdafd141 intopython:mainMay 29, 2025
44 checks passed
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 29, 2025
The problem we're fixing here is that we were using PyDict_Size() on "defaults",which it is actually a tuple.  We're also adding some explicit type checks.This is a follow-up topythongh-133221/pythongh-133528.(cherry picked from commitdafd141)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
@bedevere-app
Copy link

GH-134901 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 29, 2025
@ericsnowcurrentlyericsnowcurrently deleted the fix-pyfunction-verify-stateless branchMay 29, 2025 20:16
ericsnowcurrently added a commit that referenced this pull requestMay 29, 2025
gh-132775: Fix _PyFunctIon_VerifyStateless() ()The problem we're fixing here is that we were using PyDict_Size() on "defaults",which it is actually a tuple.  We're also adding some explicit type checks.This is a follow-up togh-133221/gh-133528.(cherry picked from commitdafd141, AKAgh-134900)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
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.

1 participant
@ericsnowcurrently

[8]ページ先頭

©2009-2025 Movatter.jp