-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-132661: Implement PEP 750 #132662
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
gh-132661: Implement PEP 750 #132662
Conversation
Still buggy
* Rename expr to expression, conv to conversion * Move templatelib under string lib * Add strings lib to LIBSUBDIRS * Update type of Template/TemplateIter/Interpolation
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Yes, I'll run them again before merging, after I've pulled |
Oh, I messed up, sorry. I clicked "merge main", but it was a long process :( |
Oops, I was too late. π |
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.
One question and LGTM.
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.
I'm not convinced about adding string/templatelib.py
instead of adding the new types to types
.
Either way, the C module is unnecessary.
When you're done making the requested changes, leave the comment: |
@markshannon Thanks for the review! I've removed the Regarding the |
In my humble opinion we should not add to |
π€ New build scheduled with the buildbot fleet by @lysnikolaou for commit 0b1aef9 π€ Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F132662%2Fmerge If you want to schedule another build, you need to add the π¨ test-with-buildbots label again. |
I'm fine with you merging this now. It is only a small change to move the code to |
PEP 750 implementation! π
Let's make sure as many people as possible take a look at this, since it's touching many areas that I've not worked on before.
π Documentation preview π: https://cpython-previews--132662.org.readthedocs.build/