Skip to content

Wrong result in boolean expression calculation #132996

@lieutt

Description

@lieutt

Bug report

Bug description:

>>> a = False
>>> b = False
>>> c = False
>>> not(a) <= (b == c)
False
>>> not(a)
True
>>> b == c
True
>>> True <= True
True
>>>

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions