Skip to content

Conversation

copybara-service[bot]
Copy link

Fixed *args and **kwargs handling in the functools overlay

pytype is sometimes able to convert args/kwargs to positional/keyword arguments.
The functools overlay did not account for that prior to this change, and ended
up passing the same arguments twice!

See added test case for a minimal repro.

pytype is sometimes able to convert args/kwargs to positional/keyword arguments.
The functools overlay did not account for that prior to this change, and ended
up passing the same arguments twice!

See added test case for a minimal repro.

PiperOrigin-RevId: 821665368
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant