[issue36030] add internal API function to create tuple without items array initialization
STINNER Victor
report at bugs.python.org
Wed Feb 20 06:37:48 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
I prefer PyTuple_FromArray() API idea. It's safer by design than you "list to tuple" function stealing references to list items if refcnt(list)==1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36030>
_______________________________________
More information about the Python-bugs-list
mailing list