[issue29082] In 2.7.13, _ctypes.LoadLibrary no longer accepts Unicode objects

Serhiy Storchaka report at bugs.python.org
Tue Dec 27 09:04:35 EST 2016


Serhiy Storchaka added the comment:

Good catch Chi Hsuan Yen! This is my mistake, I though PyString_Size() works only with str (as many similar *_Size() functions). Agreed, this change should be reverted. Do you want provide the patch with tests?

----------
keywords: +easy (C)
stage:  -> needs patch

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


More information about the Python-bugs-list mailing list