gh-69093: Expose sqlite3.Blob as a class#91550
Conversation
I noticed this was missing while writing typeshed stubs. It's useful to expose it for use in annotations.
|
Skipping news because this is a simple followup for #30680, which was merged just now. |
- 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
|
I don't use typing, but I guess this is ok. BTW, we need to disallow instantiation for blob types. I should've thought about that in the first place, but with this change it's even more important. We can embed that change here, or do it in another PR; I'm fine with both. |
|
Thanks! Also I don't think it's useful only for annotations: we also mention this class in the docs as if it is accessible, and it's useful for interactive exploration if you can do |
Good point! |
- 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
I noticed this was missing while writing typeshed stubs. It's
useful to expose it for use in annotations.
GH-69093