• Tim Peters's avatar
    Fix for SF bug 110624: float literals behave inconsistently. · ef14d73b
    Tim Peters yazdı
    I fixed the specific complaint but left the (many) large issues untouched.
    See the (very long) bug report discussion for why:
        http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110624
    Note that while I left the interface to the undocumented public API function
    PyFloat_FromString alone, its 2nd argument is useless.  From a comment block
    in the code:
    
    RED_FLAG 22-Sep-2000 tim
    PyFloat_FromString's pend argument is braindead.  Prior to this RED_FLAG,
    
    1.  If v was a regular string, *pend was set to point to its terminating
        null byte.  That's useless (the caller can find that without any
        help from this function!).
    
    2.  If v was a Unicode string, or an object convertible to a character
        buffer, *pend was set to point into stack trash (the auto temp
        vector holding the character buffer).  That was downright dangerous.
    
    Since we can't change the interface of a public API function, pend is
    still supported but now *officially* useless:  if pend is not NULL,
    *pend is set to NULL.
    ef14d73b
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
Makefile.in Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
xxobject.c Loading commit data...