Skip to content

Only support @overload in stubs #563

Closed
@JukkaL

Description

@JukkaL

We should only support @overload in stubs, as the runtime dispatch implementation of @overload won't be included in PEP 484:

python/typing#14

Also, we need to refactor away all instances of overloading from the code (outside stubs).

This can be implemented by just making the implementation of @overload raise an exception at runtime.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions