I've got slight problem with os.tmpfile(). What I would like to do is to get
the filedesc of tmpfile.
First approach:
os.tmpfile().fileno() of course does not work out, because fileno() does not
keep object alive. The solution is to keep os.tmpfile() result somewhere for
an arbitrary amount of
This seems a question for comp.lang.python or [EMAIL PROTECTED] (does
that still exist?).
Also, you might consider the APIs available in the tempfile module
rather than os.tempfile().
On 8/7/07, Maciej Fijalkowski [EMAIL PROTECTED] wrote:
I've got slight problem with os.tmpfile(). What I would
Here's a followup.
We need help from someone with a 64-bit Linux box; these tests are
failing on 64-bit only: test_io, test_largefile, test_ossaudiodev,
test_poll, test_shelve, test_socket_ssl.
I suspect that the _fileio.c module probably is one of the culprits.
Other news:
On 8/6/07, Guido