Commit 2621a32
gh-84808: Handle errors returned by internal_connect()
internal_connect() errors when returning -1 with exception set.
reported and proposed by Ryan C. Gordon
error handling scheme (raise, no raise) as suggested by encukou
Co-authored-by: Petr Viktorin <[email protected]>1 parent d9efa45 commit 2621a32
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3405 | 3405 | | |
3406 | 3406 | | |
3407 | 3407 | | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
3408 | 3420 | | |
3409 | 3421 | | |
3410 | 3422 | | |
| |||
3489 | 3501 | | |
3490 | 3502 | | |
3491 | 3503 | | |
3492 | | - | |
| 3504 | + | |
| 3505 | + | |
3493 | 3506 | | |
| 3507 | + | |
3494 | 3508 | | |
3495 | 3509 | | |
3496 | 3510 | | |
| |||
3520 | 3534 | | |
3521 | 3535 | | |
3522 | 3536 | | |
3523 | | - | |
| 3537 | + | |
3524 | 3538 | | |
| 3539 | + | |
3525 | 3540 | | |
3526 | 3541 | | |
3527 | 3542 | | |
| |||
0 commit comments