Message92549
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. |
|
Date |
User |
Action |
Args |
2009-09-12 16:49:44 | r.david.murray | set | recipients:
+ r.david.murray, georg.brandl, vincele |
2009-09-12 16:49:44 | r.david.murray | set | messageid: <1252774184.41.0.024119261368.issue6875@psf.upfronthosting.co.za> |
2009-09-12 16:49:43 | r.david.murray | link | issue6875 messages |
2009-09-12 16:49:42 | r.david.murray | create | |
|