Steve Dower added the comment:

I haven't tracked it down in 1.1, but in 1.0.2 OpenSSL handles ASCII, UTF-8 and 
mbcs/ANSI paths explicitly:

So for 3.6 and later, if we're encoding the paths with fsencode(), it'll be 
fine, but we could also use utf-8 unconditionally.

Doing a search of the codebase though, there's only the one place that does 
this and everywhere else just uses fopen() without attempting to decode. I 
don't think we're exposing many of those publicly though.


Python tracker <>
Python-bugs-list mailing list

Reply via email to