2001 Enchancement Wishlist

Fredrik Lundh fredrik at effbot.org
Fri Dec 29 16:31:29 EST 2000

Raymond Hettinger wrote:
> 1.  List.append(elem) and List.pop() are great.  Let's add two more
>      methods, List.prepend(elem) and List.leftpop().  The goal is to
>      make queues,deques, and reverse stacks easier, faster, and clearer
>      to implement.

what's wrong with insert(0, elem) and pop(0) ?


More information about the Python-list mailing list