spylang/spy

Add support for chained comparisons

Open

#249 opened on Oct 4, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (60 forks)auto 404
help wanted

Repository metrics

Stars
 (803 stars)
PR merge metrics
 (PR metrics pending)

Description

def main() -> None:
    if 1 < 2 < 3:
        print('hello')
❯ spy /tmp/x.spy 
ParseError: not implemented yet: chained comparisons
   --> /tmp/x.spy:2:16
  2 |     if 1 < 2 < 3:
    |                ^ this is not supported

Contributor guide