Raymond Hettinger added the comment:

IIRC, deque() did this to better match the behavior of list().  Not everything 
in Python is consistent and sometimes we have to pick and choose between what 
we want to be consistent with.  For the most part, the decisions have worked 
out well in practice (deque.__repr__ hasn't seemed to bother anyone in its 
dozen year history).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31194>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to