You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functools.cmp_to_key() returns a custom callable. inspect.signature()returns generic <Signature (*args, **kwargs)> raises a TypeError for the C implementation. The following PR makes it returning the same signature (<Signature (obj)>) for both Python and C implementations (currently it is returned for the Python implementation).
Feature or enhancement
functools.cmp_to_key()
returns a custom callable.inspect.signature()
returns genericraises a TypeError for the C implementation. The following PR makes it returning the same signature (<Signature (*args, **kwargs)>
<Signature (obj)>
) for both Python and C implementations (currently it is returned for the Python implementation).This issue is similar to #118285.
Linked PRs
The text was updated successfully, but these errors were encountered: