spylang/spy

Add support for chained comparisons

開放

#249 建立於 2025年10月4日

 (0 則留言) (0 個反應) (0 位負責人)Python (60 個分叉)auto 404
help wanted

倉庫指標

星標
 (803 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南