Commit 9b05276
Address review comments
Preserve errno across PyErr_CheckSignals() when reporting a read error,
rename w_set_error() to w_set_exception(), handle a PyNumber_AsSsize_t()
failure explicitly, and check the error message in the test.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent ed7d607 commit 9b05276
2 files changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
| 821 | + | |
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
| 809 | + | |
810 | 810 | | |
811 | | - | |
| 811 | + | |
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
| 853 | + | |
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
| 879 | + | |
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
| |||
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| 935 | + | |
935 | 936 | | |
| 937 | + | |
936 | 938 | | |
937 | 939 | | |
938 | 940 | | |
| |||
953 | 955 | | |
954 | 956 | | |
955 | 957 | | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
956 | 961 | | |
957 | 962 | | |
958 | 963 | | |
| |||
985 | 990 | | |
986 | 991 | | |
987 | 992 | | |
| 993 | + | |
988 | 994 | | |
989 | 995 | | |
990 | 996 | | |
991 | 997 | | |
| 998 | + | |
992 | 999 | | |
993 | 1000 | | |
994 | 1001 | | |
| |||
1922 | 1929 | | |
1923 | 1930 | | |
1924 | 1931 | | |
| 1932 | + | |
1925 | 1933 | | |
1926 | 1934 | | |
| 1935 | + | |
1927 | 1936 | | |
1928 | 1937 | | |
1929 | 1938 | | |
| |||
2016 | 2025 | | |
2017 | 2026 | | |
2018 | 2027 | | |
2019 | | - | |
| 2028 | + | |
2020 | 2029 | | |
2021 | 2030 | | |
2022 | 2031 | | |
| |||
0 commit comments