Old bug in longobject.c + fix
Jochen Küpper
jochen at jochen-kuepper.de
Tue Aug 20 01:34:51 EDT 2002
On Mon, 19 Aug 2002 08:26:10 +0000 (UTC) Duncan Booth wrote:
Duncan> On many systems you can expect the C types unsigned short to
Duncan> be 16 bits, unsigned int 32 bits and unsigned long 32 bits.
Duncan> When this is the case, the cast has no detectable effect.
Duncan> Therefore on most systems the bug is completely undetectable.
But then there are systems around for ages where unsigned long is 64
bit... And python seems to run happily on them:))
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: 44BCCD8E
Sex, drugs and rock-n-roll
More information about the Python-list
mailing list