New submission from STINNER Victor <[email protected]>:

_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 <[email protected]>
<http://bugs.python.org/issue8477>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to