[issue36031] add internal API function to effectively convert just created list to tuple

Raymond Hettinger report at bugs.python.org
Wed Feb 20 01:36:10 EST 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

-1 This technique has a low payoff (possibly even zero due to memcpy() overhead) but is likely to create future maintenance issues (risk of bugs due to the fragility of assuming a refcnt of one, awkwardness of maintenance if we have to alter the surrounding code).

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list