Skip to content

inspect.signature() raises RuntimeError on failed to resolve the default argument value#87284

@tk0miya

Description

@tk0miya
mannequin
BPO43118
Nosy@gvanrossum, @hongweipeng, @miss-islington, @tk0miya
PRs
  • bpo-43118: in inspect.signature,use 'base' to help parse 'base.__text_signature__' #30285
  • [3.10] bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) #30765
  • [3.9] bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) #30766
  • Files
  • inspect.patch
  • 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=Noneclosed_at=Nonecreated_at=<Date2021-02-03.15:04:12.206>labels= ['type-bug', 'library', '3.9', '3.10', '3.11'] title='inspect.signature() raises RuntimeError on failed to resolve the default argument value'updated_at=<Date2022-01-22.17:28:57.262>user='https://github.com/tk0miya'

    bugs.python.org fields:

    activity=<Date2022-01-22.17:28:57.262>actor='gvanrossum'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2021-02-03.15:04:12.206>creator='tkomiya'dependencies= [] files= ['49788'] hgrepos= [] issue_num=43118keywords= ['patch'] message_count=5.0messages= ['386212', '386213', '411188', '411196', '411268'] nosy_count=4.0nosy_names= ['gvanrossum', 'hongweipeng', 'miss-islington', 'tkomiya'] pr_nums= ['30285', '30765', '30766'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue43118'versions= ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.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