Skip to content

Allow function variants with different signatures to be conditioned on sys.version_info #1801

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

Closed
elazarg opened this issue Jul 5, 2016 · 1 comment

Comments

@elazarg
Copy link
Contributor

elazarg commented Jul 5, 2016

Function signature may vary between versions, see e.g. dis.dis. But encoding it on typeshed is not supported by mypy:

error: All conditional function variants must have identical signatures
@gvanrossum
Copy link
Member

gvanrossum commented Jul 5, 2016

Sorry, the correct issue is #698. I've deleted the irrelevant comments.

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

No branches or pull requests

2 participants