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 Kshitish
Recipients Kshitish, tim.peters
Date 2020-12-09.06:18:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607494714.99.0.124078710393.issue42456@roundup.psfhosted.org>
In-reply-to
Content
a = 10

b = 10


if (a >= b) & (a & b) & (a == b):

        print("Yes")

else:

        print("No")

Output: No

This is the bug because all then condition in if is true but it print No, This is the vulnerability of this code.
History
Date User Action Args
2020-12-09 06:18:35Kshitishsetrecipients: + Kshitish, tim.peters
2020-12-09 06:18:34Kshitishsetmessageid: <1607494714.99.0.124078710393.issue42456@roundup.psfhosted.org>
2020-12-09 06:18:34Kshitishlinkissue42456 messages
2020-12-09 06:18:34Kshitishcreate