Uh oh!
There was an error while loading. Please reload this page.
sqlite3: add 3.11 additions - #7625
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.
srittau
left a comment
There was a problem hiding this comment.
Exciting changes to sqlite!
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
| 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.
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.
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.
'Kay, I'll work up a patch for flake8-pyi. It should be fine to merge this before flake8-pyi is fixed.
srittau
left a comment
There was a problem hiding this comment.
LGTM, apart from the things @AlexWaygood pointed out.
AlexWaygood
left a comment
There was a problem hiding this comment.
Typos have been corrected to my satisfaction :)
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
sqlite3cpython#30680 (and anticipating that gh-69093: Expose sqlite3.Blob as a class cpython#91550 will be merged)sqlite3connection limits cpython#28463