Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Commit78e70be
Since the underlying file-like objects (either `io.BytesIO`,or a true file object) all implement the `io.IOBase`interface, the `SpooledTemporaryFile` should as well.Additionally, since the underlying file object will either be aninstance of an `io.BufferedIOBase` (for binary mode) or an`io.TextIOBase` (for text mode), methods for these classes were alsoimplemented.In every case, the required methods and properties are simply delegatedto the underlying file object.Co-authored-by: Gary Fernie <Gary.Fernie@skyscanner.net>Co-authored-by: Inada Naoki <songofacandy@gmail.com>
1 parent52dc9c3 commit78e70be
File tree
5 files changed
+92
-3
lines changed- Doc/library
- Lib
- test
- Misc
- NEWS.d/next/Library
5 files changed
+92
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
707 | 717 | | |
708 | 718 | | |
709 | 719 | | |
| |||
747 | 757 | | |
748 | 758 | | |
749 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
750 | 763 | | |
751 | 764 | | |
752 | 765 | | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
753 | 775 | | |
754 | 776 | | |
755 | 777 | | |
756 | 778 | | |
757 | 779 | | |
758 | 780 | | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
759 | 784 | | |
760 | 785 | | |
761 | 786 | | |
| |||
764 | 789 | | |
765 | 790 | | |
766 | 791 | | |
767 | | - | |
| 792 | + | |
768 | 793 | | |
769 | 794 | | |
770 | 795 | | |
771 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
772 | 800 | | |
773 | 801 | | |
774 | 802 | | |
| |||
782 | 810 | | |
783 | 811 | | |
784 | 812 | | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
785 | 816 | | |
786 | 817 | | |
787 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1064 | 1088 | | |
1065 | 1089 | | |
1066 | 1090 | | |
| |||
1076 | 1100 | | |
1077 | 1101 | | |
1078 | 1102 | | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1079 | 1127 | | |
1080 | 1128 | | |
1081 | 1129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| 1175 | + | |
1175 | 1176 | | |
1176 | 1177 | | |
1177 | 1178 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments
Comments
(0)