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

Implement inspect.signature() for functools.cmp_to_key() result #118402

Closed
Labels
3.13bugs and security fixestype-featureA feature request or enhancement
@serhiy-storchaka

Description

@serhiy-storchaka

Feature or enhancement

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).

This issue is similar to#118285.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp