Message82826
I think this is not array modules' bug. Attached test program outputs
different results on trunk/py3k.
debian:~/python-dev/trunk# ./python /mnt/windows/simple_test.py
os.pipe: success
pty.openpty: success
debian:~/python-dev/py3k# ./python /mnt/windows/simpled_test.py
b'os.pipe: success'
Traceback (most recent call last):
File "/mnt/windows/simpled_test.py", line 17, in <module>
gotdata = master_file.read(len(data) + 1)
File "/root/python-dev/py3k/Lib/io.py", line 918, in read
return self._read_unlocked(n)
File "/root/python-dev/py3k/Lib/io.py", line 952, in _read_unlocked
chunk = self.raw.read(wanted)
IOError: [Errno 5] Input/output error
And if you use io.open instead of os.fdopen, you can see same error
happens on trunk. So I think this is io module's bug. (py3k is using io
module deeply) |
|
Date |
User |
Action |
Args |
2009-02-27 09:38:42 | ocean-city | set | recipients:
+ ocean-city, zmedico |
2009-02-27 09:38:41 | ocean-city | set | messageid: <1235727521.78.0.821083052459.issue5380@psf.upfronthosting.co.za> |
2009-02-27 09:38:40 | ocean-city | link | issue5380 messages |
2009-02-27 09:38:39 | ocean-city | create | |
|