Instagram / Instagram/LibCST

Validation for with...as too strict

Open
#439 0 comments 0 reactions 0 assignees View on GitHub
bug parsing
Dominant language
Python
Stars
1.9k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

This appears to be legal syntax (no space before `as`), found in cpython's `test/test_importlib/source/test_file_loader.py` by accident:

```
with f()as g:
pass
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.