@@ -6,7 +6,7 @@ execnet ad-hoc instantiates local and remote Python interpreters.
66Each interpreter is accessible through a **Gateway ** which manages
77code and data communication. **Channels ** allow to exchange
88data between the local and the remote end. **Groups **
9- help to manage creation and termination of sub interpreters.
9+ help to manage creation and termination of sub- interpreters.
1010
1111.. image :: _static/basic1.png
1212
@@ -26,10 +26,10 @@ Here is an example which instantiates a simple Python subprocess::
2626
2727 >>> gateway = execnet.makegateway()
2828
29- gateways allow to `remote execute code `_ and
29+ Gateways allow to `remote execute code `_ and
3030`exchange data `_ bidirectionally.
3131
32- examples for valid gateway specifications
32+ Examples for valid gateway specifications
3333-------------------------------------------
3434
3535* ``ssh=wyvern//python=python3.3//chdir=mycache `` specifies a Python3.3
@@ -82,15 +82,15 @@ in the instantiated subprocess-interpreter:
8282.. automethod :: Gateway.remote_exec(source)
8383
8484It is allowed to pass a module object as source code
85- in which case it's source code will be obtained and
85+ in which case its source code will be obtained and
8686get sent for remote execution. ``remote_exec `` returns
8787a channel object whose symmetric counterpart channel
8888is available to the remotely executing source.
8989
9090
9191.. method :: Gateway.reconfigure([py2str_as_py3str=True, py3str_as_py2str=False])
9292
93- reconfigures the string-coercion behaviour of the gateway
93+ Reconfigures the string-coercion behaviour of the gateway
9494
9595.. _`Channel` :
9696.. _`channel-api` :
@@ -164,17 +164,10 @@ you can execute this little test file::
164164 <RInfo 'numchannels=0, numexecuting=0, execmodel=thread'>
165165 1
166166
167- .. note ::
168-
169- With python3 you can (as of December 2013) only use the thread model
170- because neither eventlet-0.14.0 nor gevent-1.0 support Python3.
171- When they start to support Python3, execnet will probably just work
172- because it is itself Python3 compatible.
173-
174167How to execute in the main thread
175168------------------------------------------------
176169
177- When the remote side of a gateway uses the ' thread' model, execution
170+ When the remote side of a gateway uses the " thread" model, execution
178171will preferably run in the main thread. This allows GUI loops
179172or other code to behave correctly. If you, however, start multiple
180173executions concurrently, they will run in non-main threads.
@@ -227,7 +220,7 @@ configure a tracing mechanism:
227220.. _`dumps/loads` :
228221.. _`dumps/loads API` :
229222
230- cross -interpreter serialization of python objects
223+ Cross -interpreter serialization of Python objects
231224=======================================================
232225
233226.. versionadded :: 1.1
0 commit comments