[issue17394] Add slicing support to collections.deque
Serhiy Storchaka
report at bugs.python.org
Sun Feb 7 18:33:17 EST 2016
Serhiy Storchaka added the comment:
Since the patch is so complex, I suggest to split it on parts, and review and commit them separately:
1) Refactoring. Extract common code to macros and utility functions. These macros can be used for more efficient implementing insert() and __del__.
2) Add slice getting.
3) Add slice assignment and deleting. I'm not sure that this is needed for deque.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17394>
_______________________________________
More information about the Python-bugs-list
mailing list