-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc #23200
Conversation
Pipelines failed due to an asyncio test and the Ubuntu failure is tkinter related |
@jstasiak thanks for the review! (all your points have been implemented) |
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.
Cheers, LGTM.
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.
Need to wait on an improved NamedTemporaryFile that can close without deleting, so that we don't expect the shell to work on an shared file.
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 |
This PR is stale because it has been open for 30 days with no activity. |
Using @serhiy-storchaka's proposal of using I have made the requested changes; please review again |
Thanks for making the requested changes! @zooba: please review the changes made to this pull request. |
…p in pydoc (pythonGH-23200) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c9227df) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
GH-28024 is a backport of this pull request to the 3.10 branch. |
GH-28025 is a backport of this pull request to the 3.9 branch. |
…p in pydoc (pythonGH-23200) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c9227df) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
GH-28026 is a backport of this pull request to the 3.8 branch. |
…p in pydoc (pythonGH-23200) (pythonGH-28026) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c9227df) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> (updated for Python 2.7 by Michał Górny)
Also replaces a call to
os.system
with one tosubprocess.run
I consider this a fairly trivial change so do not intend to write a blurb for it.
https://bugs.python.org/issue42278