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 Ben.Darnell
Recipients Ben.Darnell, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, martin.panter, pitrou
Date 2015-03-08.03:17:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425784654.78.0.984206251451.issue23588@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that SSLError should have used a different attribute, but it's too late for that - changing it would break any code currently relying on SSL errnos (in particular asynchronous code using the SSL_ERROR_WANT_{READ,WRITE} error codes for normal operation).

errno_scope is better than checking for isinstance(SSLError) because it lets code that only wants posix errno to say so, instead of having to know about and blacklist every OSError subclass that abuses the errno attribute (is SSLError the only one?)
History
Date User Action Args
2015-03-08 03:17:34Ben.Darnellsetrecipients: + Ben.Darnell, janssen, pitrou, giampaolo.rodola, christian.heimes, alex, martin.panter, dstufft
2015-03-08 03:17:34Ben.Darnellsetmessageid: <1425784654.78.0.984206251451.issue23588@psf.upfronthosting.co.za>
2015-03-08 03:17:34Ben.Darnelllinkissue23588 messages
2015-03-08 03:17:34Ben.Darnellcreate