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 serhiy.storchaka
Recipients pitrou, serhiy.storchaka, vstinner
Date 2012-03-26.22:47:14
SpamBayes Score 3.5841673e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
> +    if (((size_t) p & LONG_PTR_MASK) == ((size_t) q & LONG_PTR_MASK)) {
> This test looks. I think that it should be replaced by:
>     if (!((size_t) q & LONG_PTR_MASK)) {

"if (!((size_t) p & LONG_PTR_MASK)) {" if sizeof(long) <= sizeof(void *). And rewrite loop.

Now I got the idea that it is now difficult to find a platform for which sizeof(long) > sizeof(void *).
Date User Action Args
2012-03-26 22:47:14serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner
2012-03-26 22:47:14serhiy.storchakalinkissue14419 messages
2012-03-26 22:47:14serhiy.storchakacreate