]> granicus.if.org Git - python/commit
On platforms without zlib, make this do the right thing and return the python
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 25 Mar 2008 07:46:07 +0000 (07:46 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 25 Mar 2008 07:46:07 +0000 (07:46 +0000)
commitaef3e529e2c2fc12a91bb126d39b039ab7e402f9
treeb188853b7263bb2be84002e091862d858e7cc026
parent1fa588e14f8c091f5da6c23820b1ea6cc0d8ddff
On platforms without zlib, make this do the right thing and return the python
2.x signed value.  Also, don't waste space on a table full of unsigned longs
when all it needs are unsigned ints (incase anyone builds this without zlib on
a 64-bit unix for some strange reason).

tested by forcing it to compile this version on both 32-bit and 64-bit linux.
Modules/binascii.c