GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Source locations too broad for list comprehension iterable expression · Issue #123142 · python/cpython Closed Labels 3.12only security fixesonly security fixes3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportReported here: #120330 (comment) class Foo: def __iter__(self): assert False a = [x for x in Foo()] output (Python 3.12.5): Traceback (most recent call last): File "/home/frank/projects/executing/codi.py", line 5, in <module> a = [x for x in Foo()] ^^^^^^^^^^^^^^^^^^ File "/home/frank/projects/executing/codi.py", line 3, in __iter__ assert False ^^^^^ AssertionError Linked PRs
Activity
MetadataMetadataAssigneesLabels3.12only security fixesonly security fixes3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |