[issue29813] PyTuple_GetSlice does not always return a new tuple

Michael Seifert report at bugs.python.org
Wed Mar 15 00:08:48 EDT 2017


Michael Seifert added the comment:

> What leads to your headache?

That depending on the arguments to "PyTuple_GetSlice" I get "SystemError: ..\Objects\tupleobject.c:156: bad argument to internal function" when using PyTuple_SetItem on the (supposedly) new tuple. 

Maybe I just misunderstood the word "new" in the documentation. :-)

----------

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


More information about the Python-bugs-list mailing list