Incorrect error message
Kragen Sitaker
kragen at dnaco.net
Sat Mar 11 12:11:42 EST 2000
In article <m%yx4.766$74.11996 at newsc.telia.net>,
Fredrik Lundh <effbot at telia.com> wrote:
>gerrit at nl.linux.org wrote:
>> >>> open('/tmp/abcde', 'e')
>> Traceback (innermost last):
>> File "<stdin>", line 1, in ?
>> IOError: [Errno 22] Invalid argument: '/tmp/abcde'
>
>in this case, the combination is a bit misleading, but
>there's no reasonable way to avoid this.
Is it less reasonable to produce a misleading error message or to
duplicate fopen's functionality using fdopen?
I suppose he who has time to complain has time to submit patches . . .
--
<kragen at pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08. Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>
The power didn't go out on 2000-01-01 either. :)
More information about the Python-list
mailing list