posix.error is a tuple, not an object or a string as docs say

Ben Gertzfield che at debian.org
Tue Aug 10 15:47:26 EDT 1999


>>>>> "Donn" == Donn Cave <donn at u.washington.edu> writes:

    Donn> But you're right, it has no "errno" attribute.  I guess this
    Donn> is a version mismatch with your documentation.  If you
    Donn> upgrade to 1.5.2, it will have those attributes - "errno",
    Donn> "strerror" and "filename".  1.5.1's os.error still has only
    Donn> "args".  errno and strerror are args[0] and args[1].

Ah hah. I should have figured it'd be something silly like that.

Thanks.

-- 
Brought to you by the letters K and P and the number 14.
"I'm with insurance."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/




More information about the Python-list mailing list