-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated post PEP-709 comment in Python/codegen.c
#125832
Labels
easy
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
Haven't checked in the code yet but generator expressions do not seem to be concerned by the inlining:
|
I will take a look :) |
picnixz
changed the title
Outdated comment in
Outdated post PEP-709 comment in Nov 2, 2024
Python/codegen.c
Python/codegen.c
willingc
added a commit
that referenced
this issue
Nov 2, 2024
…126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <[email protected]> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]>
Thanks for the contribution! @rimi0108 |
We need to handle backport patch as well. |
corona10
pushed a commit
to corona10/cpython
that referenced
this issue
Nov 3, 2024
…P-709 (python#126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <[email protected]> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]> (cherry picked from commit 868bfcc)
corona10
pushed a commit
to corona10/cpython
that referenced
this issue
Nov 3, 2024
… per PEP-709 (pythongh-126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <[email protected]> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]>
corona10
added a commit
to corona10/cpython
that referenced
this issue
Nov 3, 2024
corona10
added a commit
that referenced
this issue
Nov 3, 2024
gh-126345) * [3.12] gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (gh-126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <[email protected]> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]> * Add space --------- Co-authored-by: rimchoi <[email protected]> Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]>
corona10
added a commit
that referenced
this issue
Nov 3, 2024
…EP-709 (gh-126322) (gh-126344) * gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (#126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <[email protected]> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <[email protected]> Co-authored-by: RUANG (James Roy) <[email protected]> (cherry picked from commit 868bfcc) * Add space --------- Co-authored-by: rimchoi <[email protected]>
corona10
added a commit
that referenced
this issue
Nov 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
easy
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
After the implementation of https://peps.python.org/pep-0709/, this comment looks wrong:
cpython/Python/codegen.c
Lines 4079 to 4090 in 57e3c59
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: