-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-36686: Improve the documentation of the std* params in loop.subprocess_exec #13586
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is for documentation update, that's nice.
base_events.py
in subprocess_exec
and subprocess_shell
explicitly forbids non-default universal_newlines
, shell
and bufsize
.
It would be nice if text
, encoding
and errors
arguments are explicitly forbidden too by code
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I don't mind writing the code for that, but it seems like there's a chance it will cause breakage if some programs used those params. |
Please use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost perfect! Please fix last nits
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use suggested strict checks to distinguish, e.g. empty string from None
.
I know that empty string for errors
is invalid currently but still...
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@sbstp: Status check is done, and it's a success ✅ . |
https://bugs.python.org/issue36686