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

Appearance settings

Generic.__new__ is too slow #196

Copy link
Copy link
@gvanrossum

Description

@gvanrossum
Issue body actions

We shouldn't need to slow down the construction of instances of a generic type.

Probably GenericMeta can pre-compute next_in_mro and then just set __new__ of the class to that.

(Though fixing #192 would make this a little more complicated.)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.