Message283078
When SSLContext cannot be created, python raises an SSLError exception with "failed to allocate SSL context".
https://hg.python.org/cpython/file/4def2a2901a5/Modules/_ssl.c#l2260
This is completely useless to debug the error. In fact many errors raised from _ssl.c are non-helpful.
Python's SSLError should be extended to include comprehensive information about OpenSSL's error stack which can be extracted with `ERR_get_error_line`. |
|
| Date |
User |
Action |
Args |
| 2016-12-13 06:55:01 | Ilya.Kulakov | set | recipients:
+ Ilya.Kulakov, christian.heimes |
| 2016-12-13 06:55:01 | Ilya.Kulakov | set | messageid: <1481612101.72.0.228099199654.issue28958@psf.upfronthosting.co.za> |
| 2016-12-13 06:55:01 | Ilya.Kulakov | link | issue28958 messages |
| 2016-12-13 06:55:01 | Ilya.Kulakov | create | |
|