Uh oh!
There was an error while loading. Please reload this page.
bpo-46307: Add string.Template.get_identifiers() method - #30493
Conversation
the-knights-who-say-ni
commented
Jan 9, 2022
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
sobolevn
left a comment
There was a problem hiding this comment.
Hi! Thanks for the patch!
Since this is your first PR to CPython, you would need to:
- Sign CLA agreement, just follow the process in the reply above. If you have any questions - feel free to ping me 🙂
- Add
NEWSentry. With https://blurb-it.herokuapp.com/ or CLI tool: https://github.com/larryhastings/blurb
0ce4073 to
319c8d7CompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
warsaw
left a comment
There was a problem hiding this comment.
Thanks for creating this PR!
Please be sure to update the string module's documentation too!
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Jan 10, 2022
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
benkehoe
commented
Jan 10, 2022
I have made the requested changes; please review again |
bedevere-bot
commented
Jan 10, 2022
Thanks for making the requested changes! @warsaw: please review the changes made to this pull request. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Jan 11, 2022
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
warsaw
commented
Jan 11, 2022
@benkehoe Have you signed the CLA? |
185c309 to
e80bb26Comparebenkehoe
commented
Jan 11, 2022
Do I need to put |
bedevere-bot
commented
Jan 11, 2022
Thanks for making the requested changes! @warsaw: please review the changes made to this pull request. |
warsaw
commented
Jan 11, 2022
Yes, please. Sorry, I should have mentioned that earlier. |
benkehoe
commented
Jan 11, 2022
Added the |
benkehoe
commented
Jan 11, 2022
Awesome! Thanks @warsaw for helping me make my first contribution to Python! |
miss-islington
commented
Jan 11, 2022
@benkehoe: Status check is done, and it's a success ✅ . |
warsaw
commented
Jan 11, 2022
Well done @benkehoe ! |
Add
string.Template.get_identifiers()method that returns the identifiers within the template. By default, raises an error if it encounters an invalid identifier (likesubstitute()). The keyword-only argumentraise_on_invalidcan be set toFalseto ignore invalid identifiers (likesafe_substitute()).https://bugs.python.org/issue46307
Automerge-Triggered-By: GH:warsaw