Repository navigation
Commit 355d6ab
_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 2997820 commit 355d6ab
2 files changed
Lines changed: 19 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
633 | 644 | | |
634 | 645 | | |
635 | 646 | | |
| |||
| 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