bpo-36686: Improve the documentation of the std* params in loop.subprocess_exec#13586
Conversation
asvetlov
left a comment
There was a problem hiding this comment.
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 |
asvetlov
left a comment
There was a problem hiding this comment.
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. :) |
asvetlov
left a comment
There was a problem hiding this comment.
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 |
|
@sbstp: Status check is done, and it's a success ✅ . |
https://bugs.python.org/issue36686