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 mark.dickinson
Recipients christian.heimes, doko, eric.smith, mark.dickinson, serhiy.storchaka
Date 2015-04-19.08:41:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429432892.67.0.633798670132.issue23999@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, so after looking more closely, this *still* looks like a false positive:  `lo0bits` *can* return 32, but only for an input of zero.  In the code in question, we're doing `k = lo0bits(&y)`, so the only way we can get a `k` of `32` is if `y = 0`.  But the whole thing is inside an "if" block that looks like `if ((y = word1(d))) { ... }` (yep, completely with the extra parentheses and the misleading equality-test-lookalike assignment), so that `if` block won't be executed if `y` is zero.

I edited the code to print out debugging information if `k` is ever 32 at that point, and saw no output.  So I don't think that line ever gets executed with `k = 32`.
History
Date User Action Args
2015-04-19 08:41:32mark.dickinsonsetrecipients: + mark.dickinson, doko, eric.smith, christian.heimes, serhiy.storchaka
2015-04-19 08:41:32mark.dickinsonsetmessageid: <1429432892.67.0.633798670132.issue23999@psf.upfronthosting.co.za>
2015-04-19 08:41:32mark.dickinsonlinkissue23999 messages
2015-04-19 08:41:32mark.dickinsoncreate