X Tutup
The Wayback Machine - https://web.archive.org/web/20250611194639/https://github.com/python/cpython/pull/15640
Skip to content

bpo-36309 pydoc.py: line 1533 - updated mktemp to mkstemp #15640

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

Closed
wants to merge 1 commit into from

Conversation

fuzzygwalchmei
Copy link

@fuzzygwalchmei fuzzygwalchmei commented Sep 2, 2019

line 1533 - updated mktemp to mkstemp

https://bugs.python.org/issue36309

line 1533 - updated mktemp to mkstemp
@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@tirkarthi
Copy link
Member

Since there is no decision reached on the issue and mailing list I am not sure if this needs a separate PR. Perhaps this could be done as part of the PR where warning is raised and all the relevant call sites are also changed with several places where this function is used.

@tonybaloney
Copy link
Contributor

@tirkarthi this pr is regarding an individual use of the mktemp() call, not to suppress it completely. The recommendation in the stdlib is to replace calls to mktemp() with one of the alternatives
The pydoc module uses mktemp() for some local caching. This was the only occurrence in the stdlib.

@tonybaloney
Copy link
Contributor

The linked BPO is incorrect, this should probably have it's own bpo

@csabella
Copy link
Contributor

@fuzzygwalchmei, please sign the CLA as per the above message. Also, I agree with @tonybaloney that this should have its own bug tracker issue. Thank you!

@csabella
Copy link
Contributor

csabella commented Dec 1, 2019

@fuzzygwalchmei, thank you for signing the CLA. Were you able to create a new bug tracker issue for this? If so, please update the title to reflect the new ticket number.

@csabella
Copy link
Contributor

I'm going to close this PR as inactive.

@csabella csabella closed this May 28, 2020
@johnthagen johnthagen mannequin mentioned this pull request Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
X Tutup