Home
last modified time | relevance | path

Searched refs:interpreters (Results 1 – 25 of 66) sorted by relevance

123

/third_party/python/Lib/test/
Dtest__xxsubinterpreters.py17 interpreters = import_helper.import_module('_xxsubinterpreters') variable
38 interpreters.run_string(interp, script, shared)
50 while not interpreters.is_running(interp):
60 interpreters.run_string(interp, dedent(f"""
93 main = interpreters.get_main()
95 if interpreters.get_current() != main:
100 interpreters.run_string(id, source, shared)
115 main = interpreters.get_main()
128 if not isinstance(id, interpreters.InterpreterID):
129 id = interpreters.InterpreterID(id)
[all …]
Dtest_interpreters.py9 from test.support import interpreters
25 for interp in interpreters.list_all():
70 interp = interpreters.create()
71 self.assertIsInstance(interp, interpreters.Interpreter)
72 self.assertIn(interp, interpreters.list_all())
79 interp = interpreters.create()
86 self.assertIn(interp, interpreters.list_all())
89 main, = interpreters.list_all()
90 interp = interpreters.create()
96 interp2 = interpreters.Interpreter(int(out))
[all …]
/third_party/python/Python/
Dpystate.c78 runtime->interpreters.mutex = PyThread_allocate_lock(); in _PyRuntimeState_Init_impl()
79 if (runtime->interpreters.mutex == NULL) { in _PyRuntimeState_Init_impl()
82 runtime->interpreters.next_id = -1; in _PyRuntimeState_Init_impl()
127 FREE_LOCK(runtime->interpreters.mutex); in _PyRuntimeState_Fini()
149 int reinit_interp = _PyThread_at_fork_reinit(&runtime->interpreters.mutex); in _PyRuntimeState_ReInitThreads()
157 int reinit_main_id = _PyThread_at_fork_reinit(&runtime->interpreters.main->id_mutex); in _PyRuntimeState_ReInitThreads()
172 PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
174 PyThread_release_lock((runtime)->interpreters.mutex)
183 struct pyinterpreters *interpreters = &runtime->interpreters; in _PyInterpreterState_Enable() local
184 interpreters->next_id = 0; in _PyInterpreterState_Enable()
[all …]
/third_party/python/Mac/PythonLauncher/
DFileSettings.m126 interpreters = [dict objectForKey: @"interpreter_list"];
128 for (i=0; i < [interpreters count]; i++) {
129 filename = [interpreters objectAtIndex: i];
161 interpreters = [fsdefaults->interpreters retain];
292 - (NSArray *) interpreters { return interpreters;}; method
DPreferencesWindowController.m98 NSArray *interp_list = [settings interpreters];
105 NSArray *interp_list = [settings interpreters];
112 NSArray *interp_list = [settings interpreters];
DFileSettings.h28 NSArray *interpreters; // List of known interpreters variable
57 - (NSArray *) interpreters;
/third_party/python/Include/internal/
Dpycore_pystate.h29 return (interp == _PyRuntime.interpreters.main); in _Py_IsMainInterpreter()
37 return (_Py_IsMainThread() && interp == _PyRuntime.interpreters.main); in _Py_ThreadCanHandleSignals()
Dpycore_runtime.h94 } interpreters; member
/third_party/jerryscript/targets/nuttx-stm32f4/
DREADME.md58 mkdir -p apps/interpreters/jerryscript
59 cp jerryscript/targets/nuttx-stm32f4/* apps/interpreters/jerryscript/
62 # ln -s jerryscript/targets/nuttx-stm32f4 apps/interpreters/jerryscript
DMake.defs16 CONFIGURED_APPS += interpreters/jerryscript
DMakefile.travis58 ln -s ../../jerryscript/targets/nuttx-stm32f4 ../apps/interpreters/jerryscript
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dthread.pyx.pxi19 based on interpreter version in order to support older interpreters that
/third_party/python/Tools/c-analyzer/
DREADME19 when multiple interpreters are in use. For more info, see PEP 3121,
/third_party/python/Doc/c-api/
Dinit.rst278 Python/C API functions, and destroy all sub-interpreters (see
805 supports the creation of additional interpreters (using
806 :c:func:`Py_NewInterpreter`), but mixing multiple interpreters and the
861 Threads belonging to different interpreters initially share nothing, except
950 with sub-interpreters:
1300 are cases where you need to create several independent interpreters in the
1301 same process and perhaps even in the same thread. Sub-interpreters allow
1305 It is usually the only Python interpreter in a process. Unlike sub-interpreters,
1311 You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`
1350 Extension modules are shared between (sub-)interpreters as follows:
[all …]
Dmodule.rst163 This makes modules safe for use in multiple sub-interpreters.
170 sub-interpreters, because it has global state.
299 :ref:`sub-interpreters <sub-interpreter-support>`. Making sure multiple modules
/third_party/python/Misc/NEWS.d/
D3.10.2.rst40 dictionary is shared again by all interpreters. Patch by Victor Stinner.
152 different sub-interpreters in parallel. Patch by Erlend E. Aasland.
D3.7.0b3.rst82 now use the default RAW memory allocator to allocate a new interpreters
D3.9.0b1.rst183 Added the ability to list interpreters associated with channel ends in the
/third_party/python/Tools/msi/
DREADME.txt398 For 64-bit interpreters installed for all users, the root key is:
401 For 32-bit interpreters installed for all users on a 64-bit operating
405 For 32-bit interpreters installed for all users on a 32-bit operating
409 For 64-bit interpreters installed for the current user:
412 For 32-bit interpreters installed for the current user:
502 For both 32-bit and 64-bit interpreters, the 32-bit version of the
/third_party/grpc/examples/python/debug/
DREADME.md48 `pdb` is a debugging tool that is available for Python interpreters natively.
/third_party/python/Doc/library/
Dcmd.rst1 :mod:`cmd` --- Support for line-oriented command interpreters
5 :synopsis: Build line-oriented command interpreters.
14 command interpreters. These are often useful for test harnesses, administrative
/third_party/boost/tools/build/src/tools/
Dpython.jam413 local interpreters ;
426 interpreters += $(:E=python:R=$(install-path)) ;
428 return $(interpreters) ;
573 local rule candidate-interpreters ( version ? : prefix ? : target-os )
727 cmds-to-try = [ candidate-interpreters $(version) : $(prefix) : $(target-os) ] ;
/third_party/pcre2/pcre2/maint/
DREADME407 interpreters? JIT already does some of this, but it may not be worth it for
408 the interpreters.
433 Needs coordination between the interpreters and JIT.
/third_party/python/Modules/
Dsignalmodule.c293 PyInterpreterState *interp = _PyRuntime.interpreters.main; in trip_signal()
/third_party/skia/third_party/externals/swiftshader/docs/
DReactor.md35 …er is small, the combined speedup can be huge. As an extreme example, interpreters can execute any…

123