Message237555
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. |
|
Date |
User |
Action |
Args |
2015-03-08 19:33:02 | pitrou | set | recipients:
+ pitrou, janssen, giampaolo.rodola, christian.heimes, alex, Ben.Darnell, martin.panter, dstufft |
2015-03-08 19:33:02 | pitrou | set | messageid: <1425843182.83.0.176556150851.issue23588@psf.upfronthosting.co.za> |
2015-03-08 19:33:02 | pitrou | link | issue23588 messages |
2015-03-08 19:33:02 | pitrou | create | |
|