fatal SIGSYS under irix
david
metafakx at yifan.net
Fri Feb 25 17:09:59 EST 2000
* Tim Peters <tim_one at email.msn.com>:
>
> I'd say both OSes are unreasonable here (Irix shouldn't blow up, Linux
> should at least complain). Under Win95 (dear Lord, how embarrassing for
> Unix <wink>):
>
> >>> f = open("blah.blah")
> >>> f.seek(1, -4)
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> IOError: [Errno 22] The device does not recognize the command
> >>>
>
Here is what happens under Linux:
>>> f = open('home.html')
>>> f.seek(1, -4)
Traceback (innermost last):
File "<stdin>", line 1, in ?
IOError: [Errno 22] Invalid argument
>>>
- David
More information about the Python-list
mailing list