Commit d5a6adf
authored
* IocpProactor: prevent modification if closed (GH-11494)
* _wait_for_handle(), _register() and _unregister() methods of
IocpProactor now raise an exception if closed
* Add "closed" to IocpProactor.__repr__()
* Simplify IocpProactor.close()
(cherry picked from commit 9b07681)
* bpo-34323: Enhance IocpProactor.close() log (GH-11555)
IocpProactor.close() now uses time to decide when to log: wait 1
second before the first log, then log every second. Log also the
number of seconds since close() was called.
(cherry picked from commit b1e4573)
* bpo-34323: Enhance IocpProactor.close() log again (GH-11563)
Add repr(self) to the log to display the number of pending overlapped
in the log.
(cherry picked from commit b91140f)
1 parent 97d6a56 commit d5a6adf
2 files changed
Lines changed: 38 additions & 8 deletions
File tree
- Lib/asyncio
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
395 | 400 | | |
396 | | - | |
397 | | - | |
398 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
399 | 406 | | |
400 | 407 | | |
401 | 408 | | |
| |||
602 | 609 | | |
603 | 610 | | |
604 | 611 | | |
| 612 | + | |
| 613 | + | |
605 | 614 | | |
606 | 615 | | |
607 | 616 | | |
| |||
644 | 653 | | |
645 | 654 | | |
646 | 655 | | |
| 656 | + | |
| 657 | + | |
647 | 658 | | |
648 | 659 | | |
649 | 660 | | |
| |||
680 | 691 | | |
681 | 692 | | |
682 | 693 | | |
| 694 | + | |
683 | 695 | | |
684 | 696 | | |
685 | 697 | | |
| |||
749 | 761 | | |
750 | 762 | | |
751 | 763 | | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
752 | 768 | | |
753 | 769 | | |
754 | 770 | | |
| |||
771 | 787 | | |
772 | 788 | | |
773 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
774 | 796 | | |
775 | | - | |
776 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
777 | 804 | | |
778 | 805 | | |
779 | | - | |
780 | | - | |
781 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
782 | 809 | | |
783 | 810 | | |
784 | 811 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments