[issue27354] SSLContext.load_verify_locations cannot handle paths on Windows which cannot be encoded using mbcs

Steve Dower report at bugs.python.org
Thu Sep 15 09:33:16 EDT 2016


Steve Dower added the comment:

TESTFN_UNENCODABLE will be invalid utf8 now, as the name is chosen by attempting to encode a list of names and using the first one to fail.

No code pages have emoji in them AFAIK, so a test with one of those would do.

ISTR looking at this function though and finding that OpenSSL will decide utf8 if that's what is passed, in which case we're fine now. Or maybe I'm thinking of Tcl...

----------

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


More information about the Python-bugs-list mailing list