| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:efcd82df-4bd4-4c4a-a335-bf3ce7843fee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E12:16BA45:4E12:61C6:6A50EC23 |
| html-safe-nonce | 4698615b4bb39394c4dce21831a0be20c4200b90da166abcddc1e908f1f24bec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTEyOjE2QkE0NTo0RTEyOjYxQzY6NkE1MEVDMjMiLCJ2aXNpdG9yX2lkIjoiMjMyMzg1MTY2Mjg0MDYyMjExNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96fc128e8a5ab6695c115687ec3c4bfb56cfafc3fc3d3d7fa88e2d8cc362bb82 |
| hovercard-subject-tag | pull_request:3745949651 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/150450/files |
| twitter:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| og:image:alt | Reading or writing a sqlite3.Blob with a negative-step slice such as blob[9:0:-2] caused a crash (SystemError on older versions, ValueError on current main) because the C code computed stop - start... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb19d617b534959801b4b7453938ecf1dfa22131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/150450/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150450%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150450%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/150450/files |
| Reload | https://github.com/python/cpython/pull/150450/files |
| Reload | https://github.com/python/cpython/pull/150450/files |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| ever0de | https://github.com/ever0de |
| python:main | https://github.com/python/cpython/tree/main |
| ever0de:gh-150449-fix-sqlite-blob-negative-step-slice | https://github.com/ever0de/cpython/tree/gh-150449-fix-sqlite-blob-negative-step-slice |
|
Conversation
27
| https://github.com/python/cpython/pull/150450 |
|
Commits
17
| https://github.com/python/cpython/pull/150450/commits |
|
Checks
51
| https://github.com/python/cpython/pull/150450/checks |
|
Files changed
| https://github.com/python/cpython/pull/150450/files |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
gh-150449: Fix sqlite3.Blob crash with negative-step slices
| https://github.com/python/cpython/pull/150450/files#top |
|
Show all changes
17 commits
| https://github.com/python/cpython/pull/150450/files |
|
af0eb65
gh-150449: Fix sqlite3.Blob crash with negative-step slices
ever0de May 26, 2026
| https://github.com/python/cpython/pull/150450/commits/af0eb656e77f13b542e8956f1dec987857ff082e |
|
85312b4
gh-150449: validate slice assignment size even for empty slices
ever0de May 26, 2026
| https://github.com/python/cpython/pull/150450/commits/85312b4ed5ece748468f79875bd1dc926f6c62e1 |
|
c0c2018
gh-150449: add tests for negative-step slices with start <= stop
ever0de May 26, 2026
| https://github.com/python/cpython/pull/150450/commits/c0c20185e8cff47684ce18597e50b9c759896a28 |
|
83d3a3c
Fix PEP 7 line-length violations in blob.c (ass_subscript_slice)
ever0de May 26, 2026
| https://github.com/python/cpython/pull/150450/commits/83d3a3c295cd60a8847c45687d1bd2612ca12eed |
|
f7c9f53
gh-150449: Address review: docs, tests, and rename write_offset
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/f7c9f53f26e9d96b974c353114696ddfc5a34606 |
|
5087b42
gh-150449: Fix versionchanged version: use 'next' not '3.16'
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/5087b422665452ca1c70ae2aaf66766d8d1aaaed |
|
d774ab7
gh-150449: Fix wording in NEWS and whatsnew: 'crash' → 'raise SystemE…
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/d774ab7d66e6a1ccfb846346c1c3859ca2949301 |
|
5bf02de
gh-150449: Remove redundant issue references from test comments
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/5bf02de6365b15fc222773228b62d63d342029d1 |
|
c311c8e
Merge remote-tracking branch 'upstream/main' into gh-150449-fix-sqlit…
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/c311c8e483161c53304346e38e207307d04ff0b3 |
|
d4b4b43
gh-150449: Fix missing blank line after xml section in whatsnew
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/d4b4b43fb625a57437c8315aff0071acac6ab033 |
|
0936d6b
gh-150449: Rename read_length to write_length in ass_subscript_slice
ever0de May 30, 2026
| https://github.com/python/cpython/pull/150450/commits/0936d6b02038a0712412d743d7a40fc4c83ecdb4 |
|
5f2f916
gh-150449: Move empty-slice validation fix to dedicated PR for gh-150913
ever0de Jun 4, 2026
| https://github.com/python/cpython/pull/150450/commits/5f2f91625c3da69dbd67bd8733b61f2800daa5e1 |
|
d47abf8
Merge remote-tracking branch 'upstream/main' into gh-150449-fix-sqlit…
ever0de Jun 4, 2026
| https://github.com/python/cpython/pull/150450/commits/d47abf89f56d74e8815a181fcc21f075acc4a31e |
|
be1aa18
gh-150449: Add tests for extreme step values in sqlite3.Blob slice op…
ever0de Jun 5, 2026
| https://github.com/python/cpython/pull/150450/commits/be1aa18c77e38d820e9d69bea4cb257677e3e976 |
|
f76ebf7
gh-150449: Assert correctness of extreme-step slice assignment in sql…
ever0de Jun 5, 2026
| https://github.com/python/cpython/pull/150450/commits/f76ebf77d037d7d906c7161bda05d88f774ae501 |
|
52084f9
gh-150449: Isolate extreme-step Blob assignment tests
ever0de Jun 5, 2026
| https://github.com/python/cpython/pull/150450/commits/52084f9e07249bf99e907dc971c9c4503f5b6ef8 |
|
a462e70
Merge branch 'main' into gh-150449-fix-sqlite-blob-negative-step-slice
serhiy-storchaka Jun 8, 2026
| https://github.com/python/cpython/pull/150450/commits/a462e70375053af9f86192a31928cf23a19e4b69 |
|
Clear filters
| https://github.com/python/cpython/pull/150450/files |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
sqlite3.rst
| https://github.com/python/cpython/pull/150450/files#diff-e9385684db2b0ebe16c55670829d121faab7f91b9bd0f30767d4b399f696471f |
|
3.16.rst
| https://github.com/python/cpython/pull/150450/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
test_dbapi.py
| https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
2026-05-26-15-53-50.gh-issue-150449.GfDWxl.rst
| https://github.com/python/cpython/pull/150450/files#diff-dddc4591cbdf20185b880e92c83090d06d3537983f6742e18469bec908ea43c6 |
|
blob.c
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L589 |
| Doc/library/sqlite3.rst | https://github.com/python/cpython/pull/150450/files#diff-e9385684db2b0ebe16c55670829d121faab7f91b9bd0f30767d4b399f696471f |
|
View file
| https://github.com/python/cpython/blob/a462e70375053af9f86192a31928cf23a19e4b69/Doc/library/sqlite3.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150450/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150450/files#diff-e9385684db2b0ebe16c55670829d121faab7f91b9bd0f30767d4b399f696471f |
|
| https://github.com/python/cpython/pull/150450/files#diff-e9385684db2b0ebe16c55670829d121faab7f91b9bd0f30767d4b399f696471f |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.16.rst | https://github.com/python/cpython/pull/150450/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
View file
| https://github.com/python/cpython/blob/a462e70375053af9f86192a31928cf23a19e4b69/Doc/whatsnew/3.16.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150450/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150450/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
| https://github.com/python/cpython/pull/150450/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L591 |
| Lib/test/test_sqlite3/test_dbapi.py | https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
View file
| https://github.com/python/cpython/blob/a462e70375053af9f86192a31928cf23a19e4b69/Lib/test/test_sqlite3/test_dbapi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150450/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
| https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
| https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
|
| https://github.com/python/cpython/pull/150450/files#diff-8e2e6a9df72f1a10e817fcf22c760aebeabd549d12d1f6d4a921085462288e4b |
| Misc/NEWS.d/next/Library/2026-05-26-15-53-50.gh-issue-150449.GfDWxl.rst | https://github.com/python/cpython/pull/150450/files#diff-dddc4591cbdf20185b880e92c83090d06d3537983f6742e18469bec908ea43c6 |
|
View file
| https://github.com/python/cpython/blob/a462e70375053af9f86192a31928cf23a19e4b69/Misc/NEWS.d/next/Library/2026-05-26-15-53-50.gh-issue-150449.GfDWxl.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150450/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L592 |
| Modules/_sqlite/blob.c | https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
|
View file
| https://github.com/python/cpython/blob/a462e70375053af9f86192a31928cf23a19e4b69/Modules/_sqlite/blob.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150450/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
|
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
| picnixz | https://github.com/picnixz |
| Jun 4, 2026 | https://github.com/python/cpython/pull/150450/files#r3358951881 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jun 4, 2026 | https://github.com/python/cpython/pull/150450/files#r3359148816 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| picnixz | https://github.com/picnixz |
| Jun 4, 2026 | https://github.com/python/cpython/pull/150450/files#r3359385726 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| ever0de | https://github.com/ever0de |
| Jun 5, 2026 | https://github.com/python/cpython/pull/150450/files#r3360049513 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jun 5, 2026 | https://github.com/python/cpython/pull/150450/files#r3361212545 |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
|
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
| https://github.com/python/cpython/pull/150450/files#diff-a846b6359be230fce8c4315f85073655bb9b96b1cb4da7c0712b560d93a3fb37 |
| Please reload this page | https://github.com/python/cpython/pull/150450/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |