• Guido van Rossum's avatar
    Trent Mick: · 534b7c5c
    Guido van Rossum yazdı
    This patch fixes cPickle.c for 64-bit platforms.
    
    - The false assumption sizeof(long) == size(void*) exists where
    PyInt_FromLong is used to represent a pointer. The safe Python call
    for this is PyLong_FromVoidPtr. (On platforms where the above
    assumption *is* true a PyInt is returned as before so there is no
    effective change.)
    
    - use size_t instead of int for some variables
    534b7c5c
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...