Fri, 17 Mar 2000 09:53:38 -0600 (CST)
Has list.shift() been proposed?
# pretend lists are implemented in Python and 'self' is a list
item = self
This would make queues read nicely... use "append" and "pop" for
a stack, "append" and "shift" for a queue.
(This is while on the thought-train of "making built-in types do
more, rather than introducing more special types", as you'll see
in my next message.)