Skip to content

Order of which arguments in "and" are evaluated, e.g. print(False and print(3)) #90

@MengJit

Description

@MengJit

Right now, both False and print(3) are being evaluated, resulting in 3 being printed out. In the current implementation of JS-Slang and in Python 3.14, only False should be outputted and print(3) shouldn't be evaluated at all.

Shall we update this implementation?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions