Commit efdd82d
committed
mitogen: Streamline Poller classes and Latch.poller_class selection
This
- Clarifies and corrects docstrings and comments based on investigation for #957
- Removes unused `Poller*._repr` attributes
- Eliminates some uses of `getattr()`
- Introduces `mitogen.parent.POLLERS` & `mitogen.parent.POLLER_LIGHTWEIGHT`
Preamble size change
```
@@ -1,7 +1,7 @@
SSH command size: 759
-Bootstrap (mitogen.core) size: 17862 (17.44KiB)
+Bootstrap (mitogen.core) size: 17934 (17.51KiB)
Original Minimized Compressed
-mitogen.parent 98171 95.9KiB 50569 49.4KiB 51.5% 12742 12.4KiB 13.0%
+mitogen.parent 96979 94.7KiB 49844 48.7KiB 51.4% 12697 12.4KiB 13.1%
mitogen.fork 8436 8.2KiB 4130 4.0KiB 49.0% 1648 1.6KiB 19.5%
mitogen.ssh 10892 10.6KiB 6952 6.8KiB 63.8% 2113 2.1KiB 19.4%
```1 parent bb9c51b commit efdd82d
2 files changed
+20
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2523 | 2523 | | |
2524 | 2524 | | |
2525 | 2525 | | |
2526 | | - | |
2527 | | - | |
| 2526 | + | |
2528 | 2527 | | |
2529 | 2528 | | |
2530 | 2529 | | |
| |||
2546 | 2545 | | |
2547 | 2546 | | |
2548 | 2547 | | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
2549 | 2552 | | |
2550 | 2553 | | |
2551 | 2554 | | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | 2555 | | |
2563 | 2556 | | |
2564 | 2557 | | |
| |||
2681 | 2674 | | |
2682 | 2675 | | |
2683 | 2676 | | |
2684 | | - | |
2685 | | - | |
2686 | | - | |
2687 | | - | |
2688 | | - | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
2689 | 2681 | | |
2690 | 2682 | | |
2691 | 2683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | | - | |
| 748 | + | |
750 | 749 | | |
751 | 750 | | |
752 | 751 | | |
| |||
902 | 901 | | |
903 | 902 | | |
904 | 903 | | |
905 | | - | |
906 | | - | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | 916 | | |
922 | 917 | | |
923 | 918 | | |
| |||
952 | 947 | | |
953 | 948 | | |
954 | 949 | | |
955 | | - | |
956 | 950 | | |
957 | 951 | | |
958 | 952 | | |
| |||
1030 | 1024 | | |
1031 | 1025 | | |
1032 | 1026 | | |
1033 | | - | |
| 1027 | + | |
1034 | 1028 | | |
1035 | 1029 | | |
1036 | 1030 | | |
| |||
1077 | 1071 | | |
1078 | 1072 | | |
1079 | 1073 | | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | 1074 | | |
1084 | 1075 | | |
1085 | 1076 | | |
| |||
1100 | 1091 | | |
1101 | 1092 | | |
1102 | 1093 | | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1107 | 1097 | | |
1108 | 1098 | | |
1109 | 1099 | | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
| 1100 | + | |
| 1101 | + | |
1115 | 1102 | | |
1116 | 1103 | | |
1117 | 1104 | | |
| |||
0 commit comments