On Linux, tempname
ignores the parent
argument if the TMPDIR
environment variable is set
#43011
Labels
tempname
ignores the parent
argument if the TMPDIR
environment variable is set
#43011
The docstring for
tempname
says:However, this is not always true. On Linux, if the
TMPDIR
environment variable is set, then the temporary file paths generated bytempname
will always be in theTMPDIR
directory, even if theparent
argument is passed to thetempname
function.Is this a bug, or is this expected behavior?
Demonstration:
The text was updated successfully, but these errors were encountered: