This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: `tmpnam_r' is dangerous, better use `mkstemp'
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, u14183
Priority: normal Keywords:

Created on 2013-04-30 10:54 by u14183, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg188152 - (view) Author: Steffen Flemming (u14183) Date: 2013-04-30 10:54
/tmp/Python-2.7.3/./Modules/posixmodule.c:7432: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
msg188156 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-04-30 12:09
Please ignore the linker warning. tmpnam_r has been removed from Python 3.x. It's still available in 2.7 for legacy reasons and marked as dangerous in our docs http://docs.python.org/2.7/library/os.html#os.tempnam
History
Date User Action Args
2022-04-11 14:57:45adminsetgithub: 62080
2013-04-30 12:09:26christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg188156

resolution: out of date
stage: resolved
2013-04-30 10:54:00u14183create