Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 62decc9f4966c060a3d4bcf762d8940d666496c5 authored by Tim Peters on 02 August 2006, 04:12:36 UTC, committed by Tim Peters on 02 August 2006, 04:12:36 UTC
buildbot (& possibly other 64-bit boxes) during test_gzip. The native zlib crc32 function returns an unsigned 32-bit integer, which the Python wrapper implicitly casts to C long. Therefore the same crc can "look negative" on a 32-bit box but "look positive" on a 64-bit box. This patch papers over that platform difference when writing the crc to file. It may be better to change the Python wrapper, either to make the result "look positive" on all platforms (which means it may have to return a Python long at times on a 32-bit box), or to keep the sign the same across boxes. But that would be a visible change in what users see, while the current hack changes no visible behavior (well, apart from stopping the struct deprecation warning). Note that the module-level write32() function is no longer used.
1 parent 4edcba6
Tip revision: 62decc9f4966c060a3d4bcf762d8940d666496c5 authored by Tim Peters on 02 August 2006, 04:12:36 UTC
Try to squash struct.pack warnings on the "amd64 gentoo trunk"
Try to squash struct.pack warnings on the "amd64 gentoo trunk"
Tip revision: 62decc9
File | Mode | Size |
---|---|---|
Uninstal.wse | -rw-r--r-- | 10.0 KB |
_bsddb.vcproj | -rw-r--r-- | 8.3 KB |
_ctypes.vcproj | -rw-r--r-- | 8.6 KB |
_ctypes_test.vcproj | -rw-r--r-- | 7.5 KB |
_elementtree.vcproj | -rw-r--r-- | 8.5 KB |
_msi.vcproj | -rw-r--r-- | 7.7 KB |
_socket.vcproj | -rw-r--r-- | 7.9 KB |
_sqlite3.vcproj | -rw-r--r-- | 8.9 KB |
_ssl.mak | -rw-r--r-- | 716 bytes |
_ssl.vcproj | -rw-r--r-- | 3.1 KB |
_testcapi.vcproj | -rw-r--r-- | 7.7 KB |
_tkinter.vcproj | -rw-r--r-- | 8.4 KB |
build_ssl.py | -rw-r--r-- | 5.7 KB |
bz2.vcproj | -rw-r--r-- | 8.5 KB |
db.build | -rw-r--r-- | 247 bytes |
field3.py | -rw-r--r-- | 966 bytes |
installer.bmp | -rw-r--r-- | 57.4 KB |
make_buildinfo.c | -rw-r--r-- | 2.7 KB |
make_buildinfo.vcproj | -rw-r--r-- | 3.6 KB |
make_versioninfo.vcproj | -rw-r--r-- | 4.3 KB |
pcbuild.sln | -rw-r--r-- | 13.8 KB |
pyexpat.vcproj | -rw-r--r-- | 8.5 KB |
python.build | -rw-r--r-- | 654 bytes |
python.iss | -rw-r--r-- | 18.7 KB |
python.vcproj | -rw-r--r-- | 8.3 KB |
python20.wse | -rw-r--r-- | 81.0 KB |
pythoncore.vcproj | -rw-r--r-- | 20.3 KB |
pythoncore_pgo.vcproj | -rw-r--r-- | 13.4 KB |
pythoncore_pgo_link.txt | -rw-r--r-- | 8.2 KB |
pythonw.vcproj | -rw-r--r-- | 7.9 KB |
readme.txt | -rw-r--r-- | 16.7 KB |
rmpyc.py | -rw-r--r-- | 597 bytes |
rt.bat | -rw-r--r-- | 1.6 KB |
select.vcproj | -rw-r--r-- | 7.9 KB |
unicodedata.vcproj | -rw-r--r-- | 7.7 KB |
w9xpopen.vcproj | -rw-r--r-- | 3.5 KB |
winsound.vcproj | -rw-r--r-- | 7.8 KB |
Computing file changes ...