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 pitrou
Recipients Ben.Darnell, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, martin.panter, pitrou
Date 2015-03-08.19:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425843182.83.0.176556150851.issue23588@psf.upfronthosting.co.za>
In-reply-to
Content
Theoretically, SSLError could stop inheriting from OSError. Practically, it may break a lot of code (though in a rather noisy way that is easy to spot).

Otherwise, the best effort fix is to make our SSL error codes start at a high number, e.g. 2000 (but not too high, so as not to overlap with Windows' socket error codes, which start at 10000 IIRC). See the "py_ssl_error" enum at the beginning of _ssl.c.
History
Date User Action Args
2015-03-08 19:33:02pitrousetrecipients: + pitrou, janssen, giampaolo.rodola, christian.heimes, alex, Ben.Darnell, martin.panter, dstufft
2015-03-08 19:33:02pitrousetmessageid: <1425843182.83.0.176556150851.issue23588@psf.upfronthosting.co.za>
2015-03-08 19:33:02pitroulinkissue23588 messages
2015-03-08 19:33:02pitroucreate