Chi Hsuan Yen added the comment:
That looks much better. I should have create a subclass of SSLError.
Here's a minor concern: fill_and_set_sslerror adds a new argument for
verification errors. If someone else wants to support more errors, this
function would have more arguments, which sounds bad for me - or we can
postpone discussions until there's really such a need?
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list