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 rhettinger
Recipients eric.smith, nanjekyejoannah, pablogsal, rhettinger, zach.ware
Date 2022-01-06.19:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641498614.54.0.674231125977.issue46280@roundup.psfhosted.org>
In-reply-to
Content
#324 and #325 are false positives.  The result variable is initialized in the preceding lines:

    if (len_a == length) {
        left = *((volatile const unsigned char**)&a);
        result = 0;
    }
    if (len_a != length) {
        left = b;
        result = 1;
    }

While the code is correct, the second test should be changed to "else".
History
Date User Action Args
2022-01-06 19:50:14rhettingersetrecipients: + rhettinger, eric.smith, zach.ware, pablogsal, nanjekyejoannah
2022-01-06 19:50:14rhettingersetmessageid: <1641498614.54.0.674231125977.issue46280@roundup.psfhosted.org>
2022-01-06 19:50:14rhettingerlinkissue46280 messages
2022-01-06 19:50:14rhettingercreate