Skip to content

singledispatchmethod raises an error when relying on a forward declaration#86153

@glyph

Description

@glyph
mannequin
BPO41987
Nosy@gvanrossum, @glyph, @ambv, @ethanhs, @joernheissler, @isidentical, @mental32, @ryansobol, @AlexWaygood
PRs
  • bpo-41987: Fix unnecessary evaluation of return type forward declaratons in singledispatch. #23216
  • 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=<Date2020-10-09.20:11:43.528>labels= ['type-bug', 'library', '3.9', '3.10'] title='singledispatchmethod raises an error when relying on a forward declaration'updated_at=<Date2022-01-11.09:46:19.220>user='https://github.com/glyph'

    bugs.python.org fields:

    activity=<Date2022-01-11.09:46:19.220>actor='AlexWaygood'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2020-10-09.20:11:43.528>creator='glyph'dependencies= [] files= [] hgrepos= [] issue_num=41987keywords= ['patch'] message_count=16.0messages= ['378346', '378350', '378353', '378361', '379896', '379911', '380797', '380799', '380800', '380803', '380832', '380843', '380845', '380852', '409572', '410269'] nosy_count=9.0nosy_names= ['gvanrossum', 'glyph', 'lukasz.langa', 'ethan smith', 'joernheissler', 'BTaskaya', 'mental', 'ryansobol', 'AlexWaygood'] pr_nums= ['23216'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue41987'versions= ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions