-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
sqlite3: add 3.11 additions #7625
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
Conversation
- Blob from python/cpython#30680 (and anticipating that python/cpython#91550 will be merged) - Aggregate window functions from python/cpython#20903 - Serialize/deserialize from python/cpython#26728 - Limit setting from python/cpython#28463
This comment has been minimized.
This comment has been minimized.
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.
Exciting changes to sqlite!
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
A few typos :)
def seek(self, __offset: int, __whence: int = ...) -> None: ... | ||
def __len__(self) -> int: ... | ||
def __enter__(self: Self) -> Self: ... | ||
def __exit__(self, __typ: object, __val: object, __tb: object) -> Literal[False]: ... |
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 think this is going to anger my unreleased Y036 check over at flake8-pyi :/ PyCQA/flake8-pyi@b7f7e9a
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.
hm, do you think we should change it? This __exit__
method really does take object
; that's what the AC annotations say.
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.
'Kay, I'll work up a patch for flake8-pyi. It should be fine to merge this before flake8-pyi is fixed.
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, apart from the things @AlexWaygood pointed out.
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.
Typos have been corrected to my satisfaction :)
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
sqlite3
cpython#30680 (and anticipating that gh-69093: Expose sqlite3.Blob as a class cpython#91550 will be merged)sqlite3
connection limits cpython#28463