[New-bugs-announce] [issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames
STINNER Victor
report at bugs.python.org
Wed Apr 21 01:38:38 CEST 2010
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
_ssl.sslwrap() has 3 filename arguments: key_file, cert_file and cacerts_file. It uses "z" format to parse them.
Attached patch uses PyUnicode_FSConverter() to support surrogates, bytes and bytearray. It fixes also test_decode_certificate() function.
----------
components: Library (Lib), Unicode
files: ssl_surrogates.patch
keywords: patch
messages: 103793
nosy: haypo
severity: normal
status: open
title: _ssl: support surrogates in filenames, and bytes/bytearray filenames
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17017/ssl_surrogates.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8477>
_______________________________________
More information about the New-bugs-announce
mailing list