[Python-3000] A few small py3k wishes

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Apr 3 02:58:58 CEST 2006


Michael P. Soulier wrote:

> 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 depends on what value you have in mind for "nice".
There would then be two methods which do exactly the
same thing, and everyone would have to keep that in
mind, or forever have anxiety when coming across code
that used "push" and wondering whether there was some
subtle difference.

-1 from me, I think.

--
Greg


More information about the Python-3000 mailing list