[Python-Dev] Warn about mktemp once again?
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Apr 29 07:15:11 CEST 2008
skip at pobox.com wrote:
> Guido> Have we documented the alternatives well enough?
>
> I suppose we could document explicitly how to use mkstemp() in place of
> mktemp(), but the difference in return value is fairly modest:
I'd like to see a variation of mkstemp() that returns
a file object instead of a file descriptor, since that's
what you really want most of the time. At least I always
end up calling fdopen on it.
--
Greg
More information about the Python-Dev
mailing list