(self)
| 181 | self.sigint_happened_in_main_context = True |
| 182 | |
| 183 | def _blocking_run_code(self): |
| 184 | try: |
| 185 | unfinished = self.interp.runsource(self.source) |
| 186 | except SystemExit as e: |
| 187 | return SystemExitRequest(*e.args) |
| 188 | return Unfinished() if unfinished else Done() |
| 189 | |
| 190 | def request_from_main_context(self, force_refresh=False): |
| 191 | """Return the argument passed in to .run_code(for_code) |
nothing calls this directly
no test coverage detected