[issue25404] ssl.SSLcontext.load_dh_params() does not handle unicode filenames properly

STINNER Victor report at bugs.python.org
Wed Oct 14 08:38:27 EDT 2015


STINNER Victor added the comment:

Right. The workaround is to encode manually the filename:

filename = filename.encode(sys.getfilesystemencoding())

----------

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


More information about the Python-bugs-list mailing list