[issue8394] ctypes.dlopen() doesn't support surrogates
Amaury Forgeot d'Arc
report at bugs.python.org
Wed Apr 14 11:08:24 CEST 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
PyUnicode_FSConverter returns bytes and bytearray objects unchanged; otherwise it always return bytes.
Your patch should handle the case when name2 is a bytearray.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8394>
_______________________________________
More information about the Python-bugs-list
mailing list