Commit f56a825
Jan Pobříslo
Add --twisted to bpython.urwid and use it for --plugin and --server.
This uses the currently installed reactor (and installs the default
implicitly if necessary), as opposed to explicitly installing a
default reactor. This is useful for some bpython embedding usecases
where a reactor is already installed by the time bpython.urwid.main()
is called, and it fixes a bug where bpython defaults to the select
reactor instead of twisted's default.1 parent b97f477 commit f56a825
1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
| 1106 | + | |
| 1107 | + | |
1106 | 1108 | | |
1107 | | - | |
| 1109 | + | |
| 1110 | + | |
1108 | 1111 | | |
1109 | 1112 | | |
1110 | 1113 | | |
| |||
1133 | 1136 | | |
1134 | 1137 | | |
1135 | 1138 | | |
1136 | | - | |
1137 | | - | |
| 1139 | + | |
| 1140 | + | |
1138 | 1141 | | |
1139 | 1142 | | |
1140 | 1143 | | |
| |||
1153 | 1156 | | |
1154 | 1157 | | |
1155 | 1158 | | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1156 | 1167 | | |
1157 | 1168 | | |
1158 | 1169 | | |
| |||
0 commit comments