Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-53760b3-3.14
Aug 21, 2026
Merged

[3.14] gh-156101: Fix sqlite3 Cursor.arraysize on a failed assignment (GH-156105)#156157
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-53760b3-3.14

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>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) August 21, 2026 07:14
@serhiy-storchaka
serhiy-storchaka merged commit f3a0531 into python:3.14 Aug 21, 2026
51 checks passed
@miss-islington
miss-islington deleted the backport-53760b3-3.14 branch August 21, 2026 07:42
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.

2 participants