Jim Jewett <jimjjew...@gmail.com> added the comment:
It may well have been intentional, as deques should normally be mutated only at the ends. But Raymond did make changes to conform to the ABC, so this should probably be supported too. Go ahead and include docstrings and/or discouraging it, though, except for i=0 and i=-1 ---------- nosy: +Jim.Jewett _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com