[docs] Suggest tempfile module in os.tmpfile documentation

Sandro Tosi sandro.tosi at gmail.com
Sat Jun 25 11:50:18 CEST 2011


Hello Jelle,

On Wed, Jun 1, 2011 at 10:12, Jelle Verstraaten <jelle at benext.eu> wrote:
> I recently found myself in need of a temporary file and ran into the
> os.tmpfile function. After some more research[1] I found out that using this
> file isn’t recommended, but no mention is made of the tempfile
> module.

The link at [1] is missing, and there is actually a `tempfile`
reference at the top of the os module (I'm supposing your referring to
2.x version, am I correct). Would you find much more useful to have an
explicit link near os.tmpfile() ?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list