[issue39087] [C API] No efficient C API to get UTF-8 string from unicode object.

Inada Naoki report at bugs.python.org
Thu Dec 19 06:20:38 EST 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

> Don't you need to DECREF bytes somehow, at least, in case of failure?

Thanks.  I will create a pull request with suggested changes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39087>
_______________________________________


More information about the Python-bugs-list mailing list