Commit e3170c8
pythongh-133595: Clean up sqlite3.Connection APIs (pythonGH-133605)
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
and set_trace_callback() is now positional-only.1 parent 4d26bf0 commit e3170c8
File tree
17 files changed
+117
-445
lines changed- Doc
- library
- whatsnew
- Include/internal
- Lib/test/test_sqlite3
- Misc/NEWS.d/next/Library
- Modules/_sqlite
- clinic
- Tools/build
17 files changed
+117
-445
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 358 | + | |
| 359 | + | |
363 | 360 | | |
364 | 361 | | |
365 | 362 | | |
| |||
693 | 690 | | |
694 | 691 | | |
695 | 692 | | |
696 | | - | |
| 693 | + | |
697 | 694 | | |
698 | 695 | | |
699 | 696 | | |
| |||
719 | 716 | | |
720 | 717 | | |
721 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | 736 | | |
742 | | - | |
| 737 | + | |
743 | 738 | | |
744 | 739 | | |
745 | 740 | | |
| |||
763 | 758 | | |
764 | 759 | | |
765 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
766 | 764 | | |
767 | 765 | | |
768 | 766 | | |
| |||
792 | 790 | | |
793 | 791 | | |
794 | 792 | | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | 793 | | |
801 | 794 | | |
802 | 795 | | |
| |||
937 | 930 | | |
938 | 931 | | |
939 | 932 | | |
940 | | - | |
| 933 | + | |
941 | 934 | | |
942 | 935 | | |
943 | 936 | | |
| |||
962 | 955 | | |
963 | 956 | | |
964 | 957 | | |
965 | | - | |
966 | | - | |
967 | | - | |
| 958 | + | |
| 959 | + | |
968 | 960 | | |
969 | 961 | | |
970 | | - | |
| 962 | + | |
971 | 963 | | |
972 | 964 | | |
973 | 965 | | |
| |||
981 | 973 | | |
982 | 974 | | |
983 | 975 | | |
984 | | - | |
985 | | - | |
986 | | - | |
| 976 | + | |
| 977 | + | |
987 | 978 | | |
988 | 979 | | |
989 | | - | |
| 980 | + | |
990 | 981 | | |
991 | 982 | | |
992 | 983 | | |
| |||
1009 | 1000 | | |
1010 | 1001 | | |
1011 | 1002 | | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
| 1003 | + | |
| 1004 | + | |
1015 | 1005 | | |
1016 | 1006 | | |
1017 | 1007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
147 | 156 | | |
148 | 157 | | |
149 | 158 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
300 | 299 | | |
301 | 300 | | |
302 | 301 | | |
303 | | - | |
304 | 302 | | |
305 | 303 | | |
306 | 304 | | |
| |||
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | | - | |
603 | 600 | | |
604 | 601 | | |
605 | 602 | | |
606 | 603 | | |
607 | 604 | | |
608 | 605 | | |
609 | 606 | | |
610 | | - | |
611 | 607 | | |
612 | 608 | | |
613 | 609 | | |
| |||
665 | 661 | | |
666 | 662 | | |
667 | 663 | | |
668 | | - | |
669 | 664 | | |
670 | 665 | | |
671 | 666 | | |
| |||
771 | 766 | | |
772 | 767 | | |
773 | 768 | | |
774 | | - | |
775 | 769 | | |
776 | 770 | | |
777 | 771 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
564 | 556 | | |
565 | 557 | | |
566 | 558 | | |
| |||
0 commit comments