STINNER Victor <victor.stin...@haypocalc.com> added the comment: Fix for _ssl module: replace _PyUnicode_AsString() by PyArg_ParseTuple() with PyUnicode_FSConverter. This change fixes also ssl for file system encoding different than utf8. I added a test on surrogates.
The test fails if surrogates can be encoded to the file system encoding (maybe on Windows?). ---------- Added file: http://bugs.python.org/file16443/ssl_rand_egd_unicode-py3k.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com