This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients anton.barkovsky, asvetlov, docs@python, tshepang
Date 2012-08-08.18:34:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344450891.45.0.889055653541.issue15501@psf.upfronthosting.co.za>
In-reply-to
Content
Please update your patches:
1. use attribute:: 
2. point base class for exception if it is not Exception
3. enumerate all attributes (`cmd` for CalledProcessError)

Example:

.. exception:: HTTPError

   Though being an exception (a subclass of :exc:`URLError`), an :exc:`HTTPError`
   can also function as a non-exceptional file-like return value (the same thing
   that :func:`urlopen` returns).  This is useful when handling exotic HTTP
   errors, such as requests for authentication.

   .. attribute:: code

      An HTTP status code as defined in `RFC 2616 <http://www.faqs.org/rfcs/rfc2616.html>`_.
      This numeric value corresponds to a value found in the dictionary of
      codes as found in :attr:`BaseHTTPServer.BaseHTTPRequestHandler.responses`.


Also please fill Contributor Agreement: http://www.python.org/psf/contrib/
History
Date User Action Args
2012-08-08 18:34:51asvetlovsetrecipients: + asvetlov, docs@python, tshepang, anton.barkovsky
2012-08-08 18:34:51asvetlovsetmessageid: <1344450891.45.0.889055653541.issue15501@psf.upfronthosting.co.za>
2012-08-08 18:34:50asvetlovlinkissue15501 messages
2012-08-08 18:34:49asvetlovcreate