-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-125832: Clarify comment for inlined comprehensions as per PEP-709 #126322
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
Conversation
Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I have one suggestion to add a reference to PEP 709
I think this one can be backported to 3.12 since PEP-709 was for 3.12 (or maybe 3.13 only?), right? |
@picnixz Yep. 3.12 and 3.13. Thanks! |
Sorry, @rimi0108 and @willingc, I could not cleanly backport this to
|
Sorry, @rimi0108 and @willingc, I could not cleanly backport this to
|
GH-126344 is a backport of this pull request to the 3.13 branch. |
…P-709 (python#126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> (cherry picked from commit 868bfcc)
… per PEP-709 (pythongh-126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
GH-126345 is a backport of this pull request to the 3.12 branch. |
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) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add space --------- Co-authored-by: rimchoi <hyerimc858@gmail.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
…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) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> (cherry picked from commit 868bfcc) * Add space --------- Co-authored-by: rimchoi <hyerimc858@gmail.com>
…P-709 (python#126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
…P-709 (python#126322) * Fix comprehensions comment to inlined by pep 709 * Update spacing Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com> * Add reference to PEP 709 --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
Python/codegen.c
#125832