Skip to content

[3.15] gh-156101: Fix sqlite3 Cursor.arraysize on a failed assignment (GH-156105) - #156156

Merged
serhiy-storchaka merged 2 commits into
python:3.15from
miss-islington:backport-53760b3-3.15
Oct 10, 2026
Merged

serhiy-storchaka merged 2 commits into
python:3.15from
miss-islington:backport-53760b3-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

PyLong_AsUInt32() stores 0 in the target on error, so the attribute was
clobbered when the assigned value was too large.
(cherry picked from commit 53760b3)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ythonGH-156105)

PyLong_AsUInt32() stores 0 in the target on error, so the attribute was
clobbered when the assigned value was too large.
(cherry picked from commit 53760b3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@vstinner

vstinner commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

@serhiy-storchaka: Oh, since August, there is now a conflict. Can you try to solve it?

@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) October 10, 2026 08:58
@serhiy-storchaka
serhiy-storchaka merged commit cb34920 into python:3.15 Oct 10, 2026
53 checks passed
@miss-islington
miss-islington deleted the backport-53760b3-3.15 branch October 10, 2026 09:26
@vstinner

Copy link
Copy Markdown
Member

Thanks for the backport. FYI I also backported the PyLong_AsInt32() change to 3.15: #156728.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants