]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92019: Make sqlite3.Blob indexing conform with the norm (#92020)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Sat, 30 Apr 2022 15:01:37 +0000 (09:01 -0600)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 15:01:37 +0000 (09:01 -0600)
commit9ea9078ec715ffc92c10c61321f3b1184fa3cac9
treee9a3f8c3730b34e3a02a846924ebe766aa5e6f07
parente91dee87edcf6dee5dd78053004d76e5f05456d4
gh-92019: Make sqlite3.Blob indexing conform with the norm (#92020)

- get index now returns an int
- set index now requires an int in range(0, 256)

Resolves #92019
Doc/includes/sqlite3/blob.py
Lib/test/test_sqlite3/test_dbapi.py
Modules/_sqlite/blob.c