Skip to content

Signature.from_callable sometimes drops subclassing #78887

@bukzor

Description

@bukzor
mannequin
BPO 34706
Nosy @gpshead, @bukzor, @matrixise, @iritkatriel
PRs
  • bpo-34706: Preserve subclassing in Signature.from_callable  #9344
  • bpo-34706: Preserve subclassing in inspect.Signature.from_callable #16108
  • [3.8] bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) #16113
  • [3.7] bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) #16114
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gpshead'
    closed_at = <Date 2020-10-10.01:37:03.831>
    created_at = <Date 2018-09-16.21:12:01.624>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'Signature.from_callable sometimes drops subclassing'
    updated_at = <Date 2020-10-10.01:37:03.830>
    user = 'https://github.com/bukzor'

    bugs.python.org fields:

    activity = <Date 2020-10-10.01:37:03.830>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2020-10-10.01:37:03.831>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-09-16.21:12:01.624>
    creator = 'bukzor'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34706
    keywords = ['patch']
    message_count = 5.0
    messages = ['325501', '352357', '352382', '352383', '378354']
    nosy_count = 4.0
    nosy_names = ['gregory.p.smith', 'bukzor', 'matrixise', 'iritkatriel']
    pr_nums = ['9344', '16108', '16113', '16114']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34706'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions