温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

PEP 709: Crash with lambda + nested scope · Issue #104602 · python/cpython · GitHub

来源:www.github.com

This crashes on main: def a(): def a(): [(lambda : b) for b in [a]] print(b) The original reproducer (found with my fork of https://github.com/carljm/compgenerator) was class a: def a(): class a: [(lambda : (a := a[(a :=…

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录