-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-128342: Specify timeout unit in subprocess docstrings #128343
Conversation
n-l-i
commented
Dec 30, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Timeout unit isn't specified in subprocess docstrings #128342
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
isn't the implicit assumption for |
It is not uncommon for |
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 would merge this with the simpler edits that leave a smoother flow of thought. Agree with skipping news. |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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.
in python, yes, floating point seconds is the common thing. but API design wise it is always best to explicitly document that. (given a time machine i'd have even put the units in the parameter name)
…nGH-128343) Specify timeout unit (seconds) in subprocess docstrings (cherry picked from commit dafe7a4) Co-authored-by: n-l-i <57808975+n-l-i@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
GH-128365 is a backport of this pull request to the 3.13 branch. |
…nGH-128343) Specify timeout unit (seconds) in subprocess docstrings (cherry picked from commit dafe7a4) Co-authored-by: n-l-i <57808975+n-l-i@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
GH-128366 is a backport of this pull request to the 3.12 branch. |