spylang/spy

Add support for chained comparisons

Aperta

#249 aperta il 4 ott 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (60 fork)auto 404
help wanted

Metriche repository

Star
 (803 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor