[issue9218] pop multiple elements of a list at once

2010-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Raymond, as did, I believe, most of the participants in the thread beginning with http://mail.python.org/pipermail/python-ideas/2010-July/007563.html -- nosy: +tjreedy resolution: -> rejected stage: -> committed/rejected status: open ->

[issue9218] pop multiple elements of a list at once

2010-07-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on multi-popping. The semantics aren't obvious -- is the order the same as s[-n:] or the same as a [s.pop() for i in range(n)] ? Also, this is an unnecessary extension of the list API, one that has not been previously requested, nor is the extension so

[issue9218] pop multiple elements of a list at once

2010-07-11 Thread Éric Araujo
Éric Araujo added the comment: python.org → community → mailing lists http://mail.python.org/mailman/listinfo/python-ideas -- ___ Python tracker ___ _

[issue9218] pop multiple elements of a list at once

2010-07-11 Thread Diego
Diego added the comment: Help me. I cant find this list. I guessed that it would be a part of the issue tracker and someone would label it right. 2010/7/11 Éric Araujo : > > Changes by Éric Araujo : > > > -- > nosy: +merwok > > ___ > Python tracker >

[issue9218] pop multiple elements of a list at once

2010-07-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9218] pop multiple elements of a list at once

2010-07-10 Thread Mark Dickinson
Mark Dickinson added the comment: The python-ideas mailing list might be a better place to discuss this. Note that it's too late for new features in the 2.x series, so I'm changing the version to 3.2 > pop self.recv_buffer[:size] I don't think this'll fly, even if you spell it pop(self.recv

[issue9218] pop multiple elements of a list at once

2010-07-10 Thread Diego Jacobi
New submission from Diego Jacobi : I am currently working with buffer in an USB device and pyusb. So when i read from a buffer endpoint i get an array.Array() list. I handle this chunk of data with a thread to send a receive the information that i need. In this thread i load a list with all the