Skip to content

Commit c9a2146

Browse files
committed
Document restrictions for remote_exec
The remote process must be a compatible version. Explain our compatibility rules.
1 parent d273c5b commit c9a2146

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Python/sysmodule.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,6 +2455,11 @@ code has been executed. The caller is responsible for making sure that
24552455
the file still exists whenever the remote process tries to read it and that
24562456
it hasn't been overwritten.
24572457
2458+
The remote process must be running a CPython interpreter of the same major
2459+
and minor version as the local process. If either the local or remote
2460+
interpreter is pre-release (alpha, beta, or release candidate) then the
2461+
local and remote interpreters must be the same exact version.
2462+
24582463
Args:
24592464
pid (int): The process ID of the target Python process.
24602465
script (str|bytes): The path to a file containing

0 commit comments

Comments
 (0)