[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

Rafael dos Santos Gonçalves report at bugs.python.org
Sat Nov 20 20:36:10 CET 2010

Rafael dos Santos Gonçalves <rafaelsantosg at gmail.com> added the comment:

Hi people,
I insert a simple code in tempfile.py, that verify if the return starts with ./, and concatenate using the abspath function.
I changed the variable name file to temp_dir_abspath, because file is a built-in function and it's not recommended, overwrite it with local variables.
And at least i add one test, that verify if temp_directory returns an absolut path.


nosy: +elesbom
Added file: http://bugs.python.org/file19699/issue7325.diff

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list