[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Christian Heimes added the comment:


New changeset 6c99b652f7909f86753b9e567ea18c95ee736e83 by Christian Heimes in 
branch '3.6':
[3.6] bpo-28958: Improve SSLContext error reporting. (GH-3414) (#3432)
https://github.com/python/cpython/commit/6c99b652f7909f86753b9e567ea18c95ee736e83


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Christian Heimes added the comment:


New changeset 611a3eab194dfd0a54e541e8e8547051df24bcfc by Christian Heimes in 
branch '2.7':
[2.7] bpo-28958: Improve SSLContext error reporting. (GH-3414) (#3433)
https://github.com/python/cpython/commit/611a3eab194dfd0a54e541e8e8547051df24bcfc


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3433

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Christian Heimes added the comment:


New changeset 17c9ac927b97472dd080174fde709d9234848195 by Christian Heimes in 
branch 'master':
bpo-28958: Improve SSLContext error reporting. (#3414)
https://github.com/python/cpython/commit/17c9ac927b97472dd080174fde709d9234848195


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Changes by Christian Heimes :


--
pull_requests: +3430

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-07 Thread Christian Heimes

Changes by Christian Heimes :


--
keywords: +patch
pull_requests: +3429
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-06 Thread Christian Heimes

Changes by Christian Heimes :


--
pull_requests: +3414

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28958] Python should return comperhansive error when SSLContext cannot be created

2016-12-12 Thread Ilya Kulakov

New submission from Ilya Kulakov:

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`.

--
assignee: christian.heimes
components: SSL
messages: 283078
nosy: Ilya.Kulakov, christian.heimes
priority: normal
severity: normal
status: open
title: Python should return comperhansive error when SSLContext cannot be 
created
type: enhancement
versions: Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com