Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

"Undefined variable" with multiple assignment and unpacking #1293

@jekbradbury

Description

@jekbradbury

Seems like the combination of multiple assignment and unpacking assignment confuses the parser or symbol tracker. Examples like this code:

a = b, _ = [0, 1]
print(b)

are giving me Undefined variable: 'b'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions