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) |
zooba
left a comment
There was a problem hiding this comment.
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.systemwith one tosubprocess.runI consider this a fairly trivial change so do not intend to write a blurb for it.
https://bugs.python.org/issue42278