Suggestion: PEP for popping slices from lists

Tim Chase python.list at tim.thechases.com
Thu Aug 8 17:50:25 EDT 2013


On 2013-08-08 22:32, Joshua Landau wrote:
> On 8 August 2013 21:03, Terry Reedy <tjreedy at udel.edu> wrote:
> > If .pop were being added today, I would argue against including
> > the index parameter.
> 
> 3) There's always deque for deques

Unless you have pre-2.4 code, in which case I'm glad .pop() was
included (but in this hypothetical world, we'd have a deque in
pre-2.4 too :-D

-tkc






More information about the Python-list mailing list