[New-bugs-announce] [issue29236] 'an ASCII string of one or more PEM-encoded certificates' needs to be unicode
Maciej Piechorka
report at bugs.python.org
Tue Jan 10 20:17:40 EST 2017
New submission from Maciej Piechorka:
In documentation it is specified that cadata parameter in load_verify_locations is 'an ASCII string of one or more PEM-encoded certificates'. However the code is actually determining it based on PyUnicode_Check function so the 'ASCII string' actually needs to be unicode object. In Python 3 it seems to be fixed by checking by PyObject_GetBuffer.
----------
assignee: docs at python
components: Documentation, SSL
messages: 285176
nosy: docs at python, uzytkownik
priority: normal
severity: normal
status: open
title: 'an ASCII string of one or more PEM-encoded certificates' needs to be unicode
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29236>
_______________________________________
More information about the New-bugs-announce
mailing list