Skip to content

resolve_bases() and new_class() do not work with type alias of a built-in type#89827

@serhiy-storchaka

Description

@serhiy-storchaka
BPO45664
Nosy@gvanrossum, @serhiy-storchaka, @1st1, @miss-islington, @Fidget-Spinner
PRs
  • bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base #29298
  • [3.10] bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base (GH-29298) #29927
  • [3.9] bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base (GH-29298) #29928
  • 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=<Date2021-12-07.12:00:37.234>created_at=<Date2021-10-28.20:38:27.785>labels= ['type-bug', 'library', '3.9', '3.10', '3.11'] title='resolve_bases() and new_class() do not work with type alias of a built-in type'updated_at=<Date2021-12-07.12:00:37.234>user='https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity=<Date2021-12-07.12:00:37.234>actor='serhiy.storchaka'assignee='none'closed=Trueclosed_date=<Date2021-12-07.12:00:37.234>closer='serhiy.storchaka'components= ['Library (Lib)'] creation=<Date2021-10-28.20:38:27.785>creator='serhiy.storchaka'dependencies= [] files= [] hgrepos= [] issue_num=45664keywords= ['patch'] message_count=4.0messages= ['405265', '407740', '407746', '407926'] nosy_count=5.0nosy_names= ['gvanrossum', 'serhiy.storchaka', 'yselivanov', 'miss-islington', 'kj'] pr_nums= ['29298', '29927', '29928'] priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='behavior'url='https://bugs.python.org/issue45664'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