spylang/spy

Add support for chained comparisons

オープン

#249 opened on 2025/10/04

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (60 件のフォーク)auto 404
help wanted

Repository metrics

Stars
 (803 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド