Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-86457: Fix signature for code.replace().#23199
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-86457: Fix signature for code.replace(). #23199
Uh oh!
There was an error while loading. Please reload this page.
Conversation
serhiy-storchaka commented Nov 8, 2020 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
54e0103 to 3844d93CompareThis PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
iritkatriel left a comment
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.
This has merge conflicts now.
bedevere-bot commented Dec 6, 2022
When you're done making the requested changes, leave the comment: |
Uh oh!
There was an error while loading. Please reload this page.
3844d93 to 72f8629Comparenetlifybot commented Dec 7, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
✅ Deploy Preview for python-cpython-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
72f8629 to 0dfd286Compare0dfd286 to 748a7e8CompareUh oh!
There was an error while loading. Please reload this page.
iritkatriel left a comment
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 don't understand the clinic code, but the rest LGTM.
erlend-aasland commented Jun 29, 2023
I will have a look, but it may take some days before I find time. Thanks for the ping, @serhiy-storchaka |
| ifself.forced_text_signature: | ||
| add(self.forced_text_signature) | ||
| else: | ||
| add('(') |
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.
All following lines just increase indentation. GitHub is not good in showing such case.
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.
For the record, I plan to refactor the signature generation into a helper function. See #107623
erlend-aasland commented Aug 7, 2023
It would be better if Argument Clinic could handle this by itself, without the need for the |
miss-islington commented Aug 7, 2023
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington commented Aug 7, 2023
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
miss-islington commented Aug 7, 2023
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
Also add support of @text_signature in Argument Clinic.. (cherry picked from commit 0e6e32f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
bedevere-bot commented Aug 7, 2023
GH-107744 is a backport of this pull request to the 3.12 branch. |
Also add support of @text_signature in Argument Clinic.. (cherry picked from commit 0e6e32f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
bedevere-bot commented Aug 7, 2023
GH-107746 is a backport of this pull request to the 3.11 branch. |
serhiy-storchaka commented Aug 7, 2023
I am sorry for creating conflicts with your PR, but this PR was planned for backporting, and your refactoring seems is not purposed for backporting. |
erlend-aasland commented Aug 7, 2023
No worries; I'll handle that :) |
https://bugs.python.org/issue42291
#86457