Home
last modified time | relevance | path

Searched refs:_interpreters (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/support/
Dinterpreters.py4 import _xxsubinterpreters as _interpreters namespace
24 id = _interpreters.create(isolated=isolated)
30 return [Interpreter(id) for id in _interpreters.list_all()]
35 id = _interpreters.get_current()
41 id = _interpreters.get_main()
49 if not isinstance(id, (int, _interpreters.InterpreterID)):
77 self._isolated = _interpreters.is_isolated(self._id)
82 return _interpreters.is_running(self._id)
90 return _interpreters.destroy(self._id)
97 _interpreters.run_string(self._id, src_str, channels)
[all …]
/third_party/python/Lib/test/
Dtest_interpreters.py8 import _xxsubinterpreters as _interpreters namespace
135 main = _interpreters.get_main()
182 self.assertIsInstance(main.id, _interpreters.InterpreterID)
183 self.assertIsInstance(current.id, _interpreters.InterpreterID)
184 self.assertIsInstance(interp.id, _interpreters.InterpreterID)
534 self.assertIsInstance(rch.id, _interpreters.ChannelID)
559 self.assertIsInstance(sch.id, _interpreters.ChannelID)