Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PEP 709: Crash with lambda + nested scope #104602

Closed
Assignees
carljm
Labels
type-bugAn unexpected behavior, bug, or error
@JelleZijlstra

Description

@JelleZijlstra

This crashes on main:

defa():defa():        [(lambda :b)forbin [a]]print(b)

The original reproducer (found with my fork ofhttps://github.com/carljm/compgenerator) was

classa:defa():classa:            [(lambda : (a:=a[(a:=2)])[b])forbin (lambdab,a:7)[a]]            [][2]=b            (1)[lambdaa:a]=4            (2)[2]=b=a        (4)[lambdab,a:b]=a=lambda :1

Found in#104528 (comment) but turned out be unrelated to that PR.

Linked PRs

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp