R. David Murray <rdmur...@bitdance.com> added the comment: Because if you want the Python file object, you should use TemporaryFile or NamedTemporaryFile. mkstemp is a lower level (closer to the os) interface, and is provided because Python has a philosophy of providing those low level interfaces when possible. Note that the TemporaryFile classes use mkstemp in their implementation.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6875> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com