Skip to content

[pull] main from python:main - #1373

Merged
pull[bot] merged 5 commits into
tj-python:mainfrom
python:main
Aug 14, 2026
Merged

pull[bot] merged 5 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Aug 14, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ever0de and others added 5 commits August 14, 2026 09:25
Reading or writing a slice with a negative step computed a negative length
for sqlite3_blob_read() and sqlite3_blob_write(), so it failed instead of
returning or storing the selected bytes.

Compute the contiguous region which covers all selected bytes, and index it
with a size_t cursor, so that a step of any sign and magnitude works.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Signed-off-by: cuishuang <imcusg@gmail.com>
Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.
@pull pull Bot locked and limited conversation to collaborators Aug 14, 2026
@pull pull Bot added the ⤵️ pull label Aug 14, 2026
@pull
pull Bot merged commit a0e77f2 into tj-python:main Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants