[Python-3000] A few small py3k wishes

Gareth McCaughan gmccaughan at synaptics-uk.com
Tue Apr 4 14:22:02 CEST 2006


> It's a minor thing, but it'd be nice to make a method alias for append() on
> mutable sequences called push(), to go with pop(). 

That would confuse anyone used to Lisp, where after

    (defvar foo (list 1 2 3 4))
    (puch 99 foo)

the value of FOO is (99 1 2 3 4) rather than (1 2 3 4 99).
I take no stand on how much not confusing Lispers matters
to Python 3k.

-- 
g



More information about the Python-3000 mailing list