[Python-Dev] Re: Python-checkins digest, Vol 1 #370 - 8 msgs

M.-A. Lemburg mal@lemburg.com
Mon, 28 Feb 2000 11:06:42 +0100


> Message: 7
> Date: Thu, 24 Feb 2000 10:23:05 -0500 (EST)
> From: Guido van Rossum <guido@cnri.reston.va.us>
> To: python-checkins@python.org
> Subject: [Python-checkins] CVS: python/dist/src/Objects listobject.c,2.63,2.64
> 
> Update of /projects/cvsroot/python/dist/src/Objects
> In directory eric:/projects/python/develop/guido/src/Objects
> 
> Modified Files:
>         listobject.c 
> Log Message:
> Made all list methods use PyArg_ParseTuple(), for more accurate
> diagnostics.
> 
> *** INCOMPATIBLE CHANGE: This changes append(), remove(), index(), and
> *** count() to require exactly one argument -- previously, multiple
> *** arguments were silently assumed to be a tuple.

Not sure about remove(), index() and count(), but the change
to .append() will break *lots* of code !

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/