New submission from Neil Cerutti: Passing an interable to the __init__ method of an existing deque appends those elements, rather than reinitializing the deque with the items. This is contrary to how list.__init__ works.
test_deque.py verifies the (possibly) incorrect behavior. ---------- components: Library (Lib) messages: 58501 nosy: Horpner, rhettinger severity: normal status: open title: collections.deque.__init__ doesn't initialize type: behavior versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1604> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com