8000 stubgen may generate (*args, *, ...) · Issue #3985 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

stubgen may generate (*args, *, ...) #3985

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
gvanrossum opened this issue Sep 22, 2017 · 0 comments · Fixed by #4518
Closed

stubgen may generate (*args, *, ...) #3985

gvanrossum opened this issue Sep 22, 2017 · 0 comments · Fixed by #4518
Labels
bug mypy got something wrong priority-1-normal

Comments

@gvanrossum
Copy link
Member

I ran stubgen recursively on the asyncio package, and found this in the output:

    def subprocess_exec(self, protocol_factory, program, *args, *, stdin: Any = ..., stdout: Any = ..., stderr: Any = ..., universal_newlines: bool = ..., shell: bool = ..., bufsize: int = ..., **kwargs): ...
@ilevkivskyi ilevkivskyi added bug mypy got something wrong priority-1-normal labels Sep 22, 2017
gvanrossum pushed a commit that referenced this issue Jan 29, 2018
…ended (#4518)

* stubgen: don't append star arg when args list already has varargs appended (#3985)

* fixed flake warning
< 4F6E /form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong priority-1-normal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0