[Python-3000-checkins] r54433 - in python/branches/p3yk: Doc/api/concrete.tex Doc/api/refcounts.dat Include/floatobject.h Misc/NEWS Objects/abstract.c Objects/floatobject.c

Georg Brandl g.brandl at gmx.net
Wed Mar 21 14:49:56 CET 2007


Thomas Wouters schrieb:
> 
> 
> On 3/18/07, *georg.brandl* <python-3000-checkins at python.org 
> <mailto:python-3000-checkins at python.org>> wrote:
> 
>     Author: georg.brandl
>     Date: Sun Mar 18 19:35:15 2007
>     New Revision: 54433
> 
>     Modified:
>        python/branches/p3yk/Doc/api/concrete.tex
>        python/branches/p3yk/Doc/api/refcounts.dat
>        python/branches/p3yk/Include/floatobject.h
>        python/branches/p3yk/Misc/NEWS
>        python/branches/p3yk/Objects/abstract.c
>        python/branches/p3yk/Objects/floatobject.c
>     Log:
>     Remove the deprecated and useless "pend" argument from
>     PyFloat_FromString. (fixes bug #1650903)
> 
> 
> FWIW, I don't believe this is congruent with what Guido promised about C 
> API stability. (On the other hand, *I* see no problem with cleanly 
> breaking some of the backward compatiblity API cruft :)

I know, and I had these objections myself, but look what Guido himself said:
"""IMO it's OK to change the
signature (for Py3k) since the compiler will report an error if you call it
with the old signature.  What's *not* OK is to keep the signature (or to
keep it compatible anyway) but change the *behavior*, as that would cause
bugs that are only caught (if at all) at runtime, and will hence be hard to
debug. """

Georg



More information about the Python-3000-checkins mailing list