Repository navigation
Commit 19a79df
committed
Use uint32 bounds for sqlite cursor fetch sizes
Store arraysize and bind fetchmany size as u32, matching Python 3.15. Preserve the current arraysize fallback and size=1 metadata, and rely on the existing unsigned index converter for negative ValueError and oversized OverflowError. The row loop still grows its result only as rows are returned and does not reserve by the declared limit.
This follow-up depends on the sqlite signature branch at b5c50e7. Independent source review and normal hooks passed; no local native compilation, runtime tests, or allocation-heavy boundary probes were run. Exact error wording and CPython post-error setter storage are not claimed identical.
Assisted-by: OpenAI Codex:model version not exposed1 parent 29c8c5b commit 19a79df
1 file changed
Lines changed: 7 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2288 | 2288 | | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | | - | |
| 2291 | + | |
2292 | 2292 | | |
2293 | 2293 | | |
2294 | 2294 | | |
| |||
2312 | 2312 | | |
2313 | 2313 | | |
2314 | 2314 | | |
2315 | | - | |
| 2315 | + | |
2316 | 2316 | | |
2317 | 2317 | | |
2318 | 2318 | | |
| |||
2606 | 2606 | | |
2607 | 2607 | | |
2608 | 2608 | | |
2609 | | - | |
2610 | | - | |
2611 | | - | |
2612 | | - | |
2613 | | - | |
2614 | | - | |
2615 | | - | |
2616 | | - | |
2617 | | - | |
2618 | | - | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
2619 | 2612 | | |
2620 | 2613 | | |
2621 | 2614 | | |
| |||
2691 | 2684 | | |
2692 | 2685 | | |
2693 | 2686 | | |
2694 | | - | |
| 2687 | + | |
2695 | 2688 | | |
2696 | 2689 | | |
2697 | 2690 | | |
2698 | 2691 | | |
2699 | | - | |
2700 | | - | |
2701 | | - | |
2702 | | - | |
2703 | | - | |
| 2692 | + | |
2704 | 2693 | | |
2705 | | - | |
2706 | | - | |
2707 | 2694 | | |
2708 | 2695 | | |
2709 | 2696 | | |
| |||
0 commit comments