Repository navigation
Commit d449234
[3.15] _remote_debugging: Use PyBytesWriter in read_py_bytes() (GH-162110)
Use PyBytesWriter to construct remote bytes objects. Remove the separate raw buffer allocation, copy, and cleanup.
(cherry picked from commit be3dfe5)
Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>1 parent b606bdc commit d449234
2 files changed
Lines changed: 19 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
650 | 661 | | |
651 | 662 | | |
652 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
| |||
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
201 | | - | |
| 198 | + | |
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| |||
209 | 206 | | |
210 | 207 | | |
211 | 208 | | |
212 | | - | |
213 | | - | |
214 | | - | |
| 209 | + | |
| 210 | + | |
215 | 211 | | |
216 | 212 | | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
220 | | - | |
| 216 | + | |
| 217 | + | |
221 | 218 | | |
| 219 | + | |
222 | 220 | | |
223 | | - | |
| 221 | + | |
224 | 222 | | |
225 | | - | |
226 | 223 | | |
227 | | - | |
| 224 | + | |
228 | 225 | | |
229 | 226 | | |
230 | | - | |
231 | 227 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | 228 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 229 | | |
243 | 230 | | |
244 | 231 | | |
| |||
0 commit comments