-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
bpo-40956: [regression] first argument in sqlite3.Connection.backup is mandatory #24503
Conversation
@berkerpeksag would you please review? |
skip news |
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.
Could you please add a test case to confirm that the regression is fixed by this?
You can rename test_bad_target_none
to test_bad_target
and add the new test here:
cpython/Lib/sqlite3/test/backup.py
Lines 20 to 22 in 749d40a
def test_bad_target_none(self): | |
with self.assertRaises(TypeError): | |
self.cx.backup(None) |
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 |
And this is actually need a NEWS entry because the previous PR has already been released in 3.10 alphas. |
Sure, I'll do it first thing tomorrow.
I see. Thanks for the heads-up. |
Oops, sorry! Enjoy your days off :) Thanks! (I have made the requested changes; please review again) BTW, not sure about the NEWS entry. It felt a bit clumsy. Let me know if you want me to rephrase it. |
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
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!
Thanks, @berkerpeksag 🙏🏻 |
Regression introduced by GH-23838.
https://bugs.python.org/issue40956