Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only support @overload in stubs #563

Closed
JukkaL opened this issue Jan 25, 2015 · 0 comments
Closed

Only support @overload in stubs #563

JukkaL opened this issue Jan 25, 2015 · 0 comments

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jan 25, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant