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 uzytkownik
Recipients docs@python, uzytkownik
Date 2017-01-11.01:17:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484097460.25.0.906949156541.issue29236@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-11 01:17:40uzytkowniksetrecipients: + uzytkownik, docs@python
2017-01-11 01:17:40uzytkowniksetmessageid: <1484097460.25.0.906949156541.issue29236@psf.upfronthosting.co.za>
2017-01-11 01:17:39uzytkowniklinkissue29236 messages
2017-01-11 01:17:38uzytkownikcreate