Terry J. Reedy added the comment: Proposals for strings views have be rejected precisely because of the keep-alive effect.
I do not remember if tuples were explicitly part of earlier discussions. One could make the argument that million-item tuples, and especially slicing thereof is rarer than the same for strings. On the other hand, copying short slices of short to medium tuples is not a big deal. Because of previous discussions, I think this issue should be either closed or suspended for python-ideas discussion. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com