Skip to content

Conversation

@JelleZijlstra
Copy link
Member

Most recent one in python/cpython#23930. This makes me wish we
could have had type evaluation functions.

Most recent one in python/cpython#23930. This makes me wish we
could have had type evaluation functions.
@github-actions
Copy link
Contributor

github-actions bot commented May 7, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@Akuli Akuli changed the title Add new arguments to subprocess.Poopen Add new arguments to subprocess.Popen May 7, 2022
@hauntsaninja
Copy link
Collaborator

"subprocess.💩en", Jelle tell us how you really feel

Copy link
Collaborator

@Akuli Akuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by diffing the overloads against each other.

pipesize: int = ...,
) -> Popen[Any]: ...
elif sys.version_info >= (3, 9):
# user, group, extra_groups, umask were added in 3.9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shouldn't be available on windows, but we probably shouldn't change the stub to reflect that. It's already difficult enough to read. The same goes for process_group.

@Akuli Akuli merged commit 6b5068b into python:master May 7, 2022
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

Successfully merging this pull request may close these issues.

3 participants