[issue21308] PEP 466: backport ssl changes

Stefan Behnel report at bugs.python.org
Thu Aug 21 21:57:51 CEST 2014


Stefan Behnel added the comment:

The current implementation doesn't work with Unicode file paths. Try passing a Unicode string e.g. as "cafile" into context.load_verify_locations(). It calls PyString_AsEncodedObject() on it, which then fails with a PyErr_BadArgument() on the entry type check.

----------
nosy: +scoder

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21308>
_______________________________________


More information about the Python-bugs-list mailing list