[issue6965] tmpnam should not be used if tempfile or mkstemp are available

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: I get similar warnings while building on Debian AMD64: (...) libpython2.7.a(posixmodule.o): In function `posix_tmpnam': ./Modules/posixmodule.c:7193: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'

[issue6965] tmpnam should not be used if tempfile or mkstemp are available

2010-01-10 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: -- type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6965 ___ ___ Python-bugs-list

[issue6965] tmpnam should not be used if tempfile or mkstemp are available

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Then close it as duplicate of issue486434, which was closed for the same reason. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6965] tmpnam should not be used if tempfile or mkstemp are available

2009-09-22 Thread djc
New submission from djc dirk...@ochtman.nl: I have a bug report in the Gentoo tracker (http://bugs.gentoo.org/show_bug.cgi?id=221183): This is a rather strange request, but please bear me. While building Posix module, python checks (among others) for tmpfile, tmpnam and tmpnam_r however man