Your message dated Sun, 16 Feb 2014 17:06:42 +0100
with message-id 
<CAB4XWXwsusJ2wJ9apDGpAQvJObOJPVRq0E8p7DhEk=mkbo4...@mail.gmail.com>
and subject line Re: Documentation of pycurl.error
has caused the Debian Bug report #433941,
regarding Documentation of pycurl.error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
433941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433941
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pycurl
Version: 7.16.2.1-3+b1
Severity: wishlist

The 'pycurl.error' object is pretty much undocumented.
To find out how to access the error code, I had to trigger an exception and 
inspect the resulting exception object...
The it's easy:

try:
        c.perlform()
except pycurl.error, e:
        print "Error code: ", e[0]
        print "Error message: ", e[1]

(you can also use e.args[0])

IMHO this should be documented somewhere in "pydoc pycurl.error"

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.21-2-686

Debian Release: lenny/sid
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-================
libc6                    (>= 2.5-5) | 2.6-2
libcurl3-gnutls       (>= 7.16.2-1) | 7.16.4-1
libkrb53            (>= 1.6.dfsg.1) | 1.6.dfsg.1-6
python                     (<< 2.6) | 2.4.4-6
python                     (>= 2.4) | 2.4.4-6

best regards,
Erich Schubert
-- 
     erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
 Why waste time learning, when ignorance is instantaneous? --- Calvin //\
    Die kürzeste Verbindung zwischen zwei Menschen ist ein Lächeln.   V_/_



--- End Message ---
--- Begin Message ---
Hello,
this has been fixed sometime ago, closing the bug then. If something
is still missing, you can follow up at
http://sourceforge.net/p/pycurl/bugs/12/

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--- End Message ---

Reply via email to