Issue 868743: os.tmpfile seek(0) fails on cygwin (original) (raw)

Created on 2004-01-01 10:29 by tebeka, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg19498 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-01-01 10:29
[12:25] $python Python 2.3.3 (#1, Dec 22 2003, 11:56:28) [GCC 3.3.1 (cygming special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from os import tmpfile >>> f = tmpfile() >>> f.seek(0) Traceback (most recent call last): File "", line 1, in ? IOError: [Errno 29] Illegal seek >>>
msg19499 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2004-01-01 21:17
Logged In: YES user_id=33168 Works on Linux. Jason, any ideas?
msg19500 - (view) Author: Jason Tishler (jlt63) * (Python triager) Date: 2004-01-02 20:21
Logged In: YES user_id=86216 Hmm...was someone looking over my shoulder? Guess what I was investigating before I broke for New Years? $ python /usr/lib/python2.3/test/regrtest.py -l test_os test_os test test_os failed -- Traceback (most recent call last): File "/tmp/python.280/usr/lib/python2.3/test/test_os.py", line 50, in test_tmpfile IOError: [Errno 29] Illegal seek The good news is this problem is fixed in Cygwin CVS: http://cygwin.com/ml/cygwin-cvs/2003-q4/msg00076.html The bad news is I must rebuild against the next official Cygwin release (i.e. 1.5.6) before users can get this fix. Just dropping in the latest Cygwin snapshot will not work, because Cygwin's 64-bit I/O magic is resolved at link time not runtime. I will release a new Cygwin Python package ASAP after Cygwin 1.5.6 is released. BTW, doesn't it *always* work on Linux! :,)
msg19501 - (view) Author: Jason Tishler (jlt63) * (Python triager) Date: 2004-01-26 17:00
Logged In: YES user_id=86216 I'm waiting for Cygwin 1.5.7, because 1.5.6 is too unstable. Sorry for the delay...
msg19502 - (view) Author: Jason Tishler (jlt63) * (Python triager) Date: 2004-04-30 13:42
Logged In: YES user_id=86216 First Cygwin was unstable, then I became unstable... :,) Cygwin became stable (enough) again with version 1.5.9. Unfortunately, it was released right when I was switching jobs. Thanks for your patience.
History
Date User Action Args
2022-04-11 14:56:01 admin set github: 39746
2004-01-01 10:29:38 tebeka create