Skip to content

Commit c127844

Browse files
gh-155733: Add news entry for non-string keyword argument validation
1 parent ac51603 commit c127844

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Validate keyword argument keys in ``operator.methodcaller`` and ``functools.partial`` to raise ``TypeError`` instead of crashing when non-string keys are passed.

0 commit comments

Comments
 (0)