[pypy-issue] [issue739] os.tmpname does not produce a RuntimeWarning

Da_Blitz tracker at bugs.pypy.org
Mon Jun 6 15:56:14 CEST 2011

New submission from Da_Blitz <pypy at pocketnix.org>:

when using os.tmpnam or os.tempnam on cpython a runtime warning is produced
warning about the security risks of using the function. pypy-1.5 does not
produce this warning. a patch to change this behavior in pypy to match cpython
is attached

also a thanks to Benjamin Peterson for pointing out that RuntimeWarning is a builtin

messages: 2603
nosy: dablitz, pypy-issue
priority: bug
status: unread
title: os.tmpname does not produce a RuntimeWarning

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list