Repository navigation
Commit cc1a2da
committed
Report Windows signal wakeup socket errors
Capture Winsock send failures without allocation in the OS signal handler. Queue raw errors in bounded atomic storage, honor warn_on_full_buffer for WSAEWOULDBLOCK, and report through sys.unraisablehook on the main interpreter thread before invoking Python signal handlers.
Keep Unix/WASI notification and Windows CRT wakeup writes unchanged. This socket-focused extraction is independent of the separate Unix wakeup-reporting candidate.
Hosted Windows baseline proof: CPython 3.14.7 passed the full signal snippet; RustPython failed the intended first missing-unraisable assertion. Job: https://github.com/RustPython/RustPython/actions/runs/37934852290/job/113834235711
Normal hooks and independent source review passed. Local compilation is unavailable during the shared disk/build pause; patched native Windows execution remains pending ordinary PR CI.
Assisted-by: OpenAI Codex:model identifier unavailable1 parent c009082 commit cc1a2da
3 files changed
Lines changed: 96 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
398 | 413 | | |
399 | 414 | | |
400 | 415 | | |
401 | 416 | | |
402 | 417 | | |
403 | 418 | | |
404 | | - | |
| 419 | + | |
405 | 420 | | |
406 | 421 | | |
407 | 422 | | |
| |||
411 | 426 | | |
412 | 427 | | |
413 | 428 | | |
414 | | - | |
| 429 | + | |
415 | 430 | | |
416 | 431 | | |
417 | 432 | | |
418 | 433 | | |
419 | | - | |
420 | | - | |
| 434 | + | |
| 435 | + | |
421 | 436 | | |
422 | 437 | | |
423 | 438 | | |
424 | 439 | | |
425 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
426 | 448 | | |
427 | 449 | | |
428 | 450 | | |
429 | 451 | | |
430 | 452 | | |
| 453 | + | |
431 | 454 | | |
432 | 455 | | |
433 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
| |||
344 | 351 | | |
345 | 352 | | |
346 | 353 | | |
347 | | - | |
| 354 | + | |
348 | 355 | | |
349 | 356 | | |
350 | 357 | | |
| |||
383 | 390 | | |
384 | 391 | | |
385 | 392 | | |
386 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
387 | 397 | | |
388 | 398 | | |
389 | 399 | | |
| |||
532 | 542 | | |
533 | 543 | | |
534 | 544 | | |
535 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
536 | 550 | | |
537 | 551 | | |
538 | | - | |
539 | 552 | | |
540 | | - | |
541 | 553 | | |
542 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
543 | 596 | | |
544 | 597 | | |
545 | 598 | | |
| |||
0 commit comments