Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-121300: Addreplace tocopy.__all__#121302
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedJul 3, 2024 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
serhiy-storchaka 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.
LGTM.
| error=Error# backward compatibility | ||
| __all__= ["Error","copy","deepcopy"] | ||
| __all__= ["Error","copy","deepcopy","replace"] |
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.
Consider adding a regression test so this doesn't happen again. See helper methodsupport.test__all__ in the test directory—it automatically detects public methods based on whether they follow the public name convention.
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.
Sure, let me go ahead, good callout.
max-muoto commentedJul 3, 2024
@serhiy-storchaka If you want to take another look. |
Eclips4 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.
Thanks!
Thanks@max-muoto for the PR, and@kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
(cherry picked from commit7c66906)Co-authored-by: Max Muoto <maxmuoto@gmail.com>
GH-121337 is a backport of this pull request to the3.13 branch. |
bedevere-bot commentedJul 3, 2024
|
Uh oh!
There was an error while loading.Please reload this page.
Adds missing replace to
copy.__all__copy.replaceisn't in__all__#121300