[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

STINNER Victor report at bugs.python.org
Fri Apr 23 13:37:43 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

key_file and cert_file are mandatory (see newPySSLObject()) and bytearray are now more accepted by PyUnicode_FSConverter() (see #8485). New version of the patch is simpler and shorter.

Support bytearray is a little bit to much complex for me (because of the GIL and bytearray lock), I prefer to leave 3.1 unchanged (I will not backport this patch).

----------
Added file: http://bugs.python.org/file17051/ssl_surrogates-2.patch

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


More information about the Python-bugs-list mailing list