This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients stutzbach
Date 2010-05-08.06:15:18
SpamBayes Score 0.061551433
Marked as misclassified No
Message-id <1273299322.78.0.204722147586.issue8659@psf.upfronthosting.co.za>
In-reply-to
Content
I noticed that in longobject.c, there are a few spots that take the absolute value of an int before comparing the int to 0.  There's no -0 for C integers, so the absolute value isn't necessary.

I traced back through the commit history, and it looks like they're an artifact of the original one's-complement longobject.c (which COULD have -0).  longobject was switched to two's-complement in 1992. ;-)
History
Date User Action Args
2010-05-08 06:15:22stutzbachsetrecipients: + stutzbach
2010-05-08 06:15:22stutzbachsetmessageid: <1273299322.78.0.204722147586.issue8659@psf.upfronthosting.co.za>
2010-05-08 06:15:20stutzbachlinkissue8659 messages
2010-05-08 06:15:18stutzbachcreate