Issue 810914: fix for mkstemp with relative paths (bug #810408) (original) (raw)

Fixed:

Bug description:

The document of tempfile.mkstemp says that, "mkstemp() returns a tuple containing an OS-level handle to an open file (as would be returned by os.open()) and the absolute pathname of that file, in that order."

However, if you specify the directory as relative path, it doesn't return an absolute pathname.