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

Use ellipsis as default argument value in stubgen-generated stubs #1915

Closed
JukkaL opened this issue Jul 20, 2016 · 1 comment
Closed

Use ellipsis as default argument value in stubgen-generated stubs #1915

JukkaL opened this issue Jul 20, 2016 · 1 comment

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jul 20, 2016

Currently the default values can be literals, and this causes problems with pytype.

The literals can make it easier to manually annotate stubs. We could include the same information in generated comments, for example.

See also python/typeshed#377.

@ddfisher ddfisher added this to the Undetermined priority milestone Jul 21, 2016
@gvanrossum gvanrossum removed this from the Undetermined priority milestone Mar 29, 2017
@dmoisset
Copy link
Contributor

Note that #3169 also fixed this

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

5 participants