[issue24379] Add operator.subscript as a convenience for creating slices

Serhiy Storchaka report at bugs.python.org
Mon Aug 15 11:56:20 EDT 2016


Serhiy Storchaka added the comment:

Raymond, adding a stub element to __slots__ fixes a leak. Is this enough to push the patch again?

We should open a separate issue for leaks in objects with empty __slots__.

----------

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


More information about the Python-bugs-list mailing list