8000 gh-87106: Fix `inspect.signature.bind` handling of positional-only arguments with `**kwargs` by jacobtylerwalls · Pull Request #103404 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-87106: Fix inspect.signature.bind handling of positional-only arguments with **kwargs #103404

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

Merged
merged 17 commits into from
May 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove superfluous continue
  • Loading branch information
jacobtylerwalls committed May 10, 2024
commit 1ec398b70028723d0b47b5f6cf958c5f11cc9c65
3 changes: 0 additions & 3 deletions Lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -3272,9 +3272,6 @@ def _bind(self, args, kwargs, *, partial=False):
# before reaching the last parameter before *args.
continue

if param.kind == _POSITIONAL_ONLY:
continue

param_name = param.name
try:
arg_val = kwargs.pop(param_name)
Expand Down
0