[issue1604] collections.deque.__init__ doesn't initialize

2007-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Checked in. See rev 59478. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1604] collections.deque.__init__ doesn't initialize

2007-12-12 Thread Raymond Hettinger
Changes by Raymond Hettinger: -- versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscr

[issue1604] collections.deque.__init__ doesn't initialize

2007-12-12 Thread Guido van Rossum
Guido van Rossum added the comment: I agree, I put the list behavior in on purpose. Should be fixed in 2.6, not 2.5 though, since it's a feature. -- assignee: -> rhettinger nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]>

[issue1604] collections.deque.__init__ doesn't initialize

2007-12-12 Thread Neil Cerutti
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. -- com