[issue25986] Collections.deque maxlen: added in 2.6 or 2.7?

2016-01-10 Thread Elena Oat
Elena Oat added the comment: I checked and 2.6 python has maxlen as a parameter, but not a maxlen attribute. The maxlen attribute was added in 2.7. -- nosy: +Elena.Oat ___ Python tracker

[issue25986] Collections.deque maxlen: added in 2.6 or 2.7?

2016-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for checking. Closing. -- nosy: +ezio.melotti resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue25986] Collections.deque maxlen: added in 2.6 or 2.7?

2016-01-01 Thread Terry J. Reedy
New submission from Terry J. Reedy: https://docs.python.org/2.6/library/collections.html#collections.deque has this line "Changed in version 2.6: Added maxlen parameter." https://docs.python.org/2.7/library/collections.html#collections.deque kept the sentence above and added this entry after

[issue25986] Collections.deque maxlen: added in 2.6 or 2.7?

2016-01-01 Thread R. David Murray
R. David Murray added the comment: 'parameter' and 'attribute' are two different things. I presume the documentation is accurate, but haven't checked :) -- nosy: +r.david.murray ___ Python tracker