Commit 7cfede6
This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF.
I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue.
(cherry picked from commit a74eea2)
Co-authored-by: Benjamin Peterson <[email protected]>
1 parent 5e0ce46 commit 7cfede6
File tree
2 files changed
+15
-30
lines changed- Misc/NEWS.d/next/Core and Builtins
- Parser
2 files changed
+15
-30
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | 295 | | |
305 | 296 | | |
306 | 297 | | |
307 | 298 | | |
308 | 299 | | |
309 | 300 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
326 | 305 | | |
327 | 306 | | |
328 | 307 | | |
329 | 308 | | |
330 | 309 | | |
331 | 310 | | |
332 | 311 | | |
333 | | - | |
334 | 312 | | |
335 | 313 | | |
336 | 314 | | |
| |||
340 | 318 | | |
341 | 319 | | |
342 | 320 | | |
343 | | - | |
344 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
345 | 329 | | |
346 | 330 | | |
347 | | - | |
348 | | - | |
| 331 | + | |
| 332 | + | |
349 | 333 | | |
350 | 334 | | |
351 | 335 | | |
| |||
0 commit comments