💾 Archived View for tris.fyi › pydoc › multiprocessing.context captured on 2023-04-26 at 13:36:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Back to module index

Go to module by name

multiprocessing

multiprocessing.context

This module has no docstring.

Classes

AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

BaseContext

set_start_method.AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(self, typecode_or_type, size_or_initializer, *, lock=True)

  Returns a synchronized shared array
Barrier(self, parties, action=None, timeout=None)

  Returns a barrier object
BoundedSemaphore(self, value=1)

  Returns a bounded semaphore object
Condition(self, lock=None)

  Returns a condition object
Event(self)

  Returns an event object
JoinableQueue(self, maxsize=0)

  Returns a queue object
Lock(self)

  Returns a non-recursive lock object
Manager(self)

  Returns a manager associated with a running server process

          The managers methods such as `Lock()`, `Condition()` and `Queue()`
          can be used to create shared objects.
        
Pipe(self, duplex=True)

  Returns two connection object connected by a pipe
Pool(self, processes=None, initializer=None, initargs=(), maxtasksperchild=None)

  Returns a process pool object
Queue(self, maxsize=0)

  Returns a queue object
RLock(self)

  Returns a recursive lock object
RawArray(self, typecode_or_type, size_or_initializer)

  Returns a shared array
RawValue(self, typecode_or_type, *args)

  Returns a shared object
Semaphore(self, value=1)

  Returns a semaphore object
SimpleQueue(self)

  Returns a queue object
Value(self, typecode_or_type, *args, lock=True)

  Returns a synchronized shared object
active_children()


      Return list of process objects corresponding to live child processes
    
allow_connection_pickling(self)

  Install support for sending connections and sockets
          between processes
        
cpu_count(self)

  Returns the number of CPUs in the system
current_process()


      Return process object representing the current process
    
freeze_support(self)

  Check whether this is a fake forked process in a frozen executable.
          If so then run code specified by commandline and exit.
        
get_context(self, method=None)
get_logger(self)

  Return package logger -- if it does not already exist then
          it is created.
        
get_start_method(self, allow_none=False)
log_to_stderr(self, level=None)

  Turn on logging and add a handler which prints to stderr
parent_process()


      Return process object representing the parent process
    
set_executable(self, executable)

  Sets the path to a python.exe or pythonw.exe binary used to run
          child processes instead of sys.executable when using the 'spawn'
          start method.  Useful for people embedding Python.
        
set_forkserver_preload(self, module_names)

  Set list of module names to try to load in forkserver process.
          This is really just a hint.
        
set_start_method(self, method, force=False)
reducer = <property object at 0x7f75e1c853a0>
  Controls how objects will be reduced to a form that can be
          shared with other processes.

BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

DefaultContext

set_start_method.AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.Process

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

set_start_method.ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(self, typecode_or_type, size_or_initializer, *, lock=True)

  Returns a synchronized shared array
Barrier(self, parties, action=None, timeout=None)

  Returns a barrier object
BoundedSemaphore(self, value=1)

  Returns a bounded semaphore object
Condition(self, lock=None)

  Returns a condition object
Event(self)

  Returns an event object
JoinableQueue(self, maxsize=0)

  Returns a queue object
Lock(self)

  Returns a non-recursive lock object
Manager(self)

  Returns a manager associated with a running server process

          The managers methods such as `Lock()`, `Condition()` and `Queue()`
          can be used to create shared objects.
        
Pipe(self, duplex=True)

  Returns two connection object connected by a pipe
Pool(self, processes=None, initializer=None, initargs=(), maxtasksperchild=None)

  Returns a process pool object
Queue(self, maxsize=0)

  Returns a queue object
RLock(self)

  Returns a recursive lock object
RawArray(self, typecode_or_type, size_or_initializer)

  Returns a shared array
RawValue(self, typecode_or_type, *args)

  Returns a shared object
Semaphore(self, value=1)

  Returns a semaphore object
SimpleQueue(self)

  Returns a queue object
Value(self, typecode_or_type, *args, lock=True)

  Returns a synchronized shared object
active_children()


      Return list of process objects corresponding to live child processes
    
allow_connection_pickling(self)

  Install support for sending connections and sockets
          between processes
        
cpu_count(self)

  Returns the number of CPUs in the system
current_process()


      Return process object representing the current process
    
freeze_support(self)

  Check whether this is a fake forked process in a frozen executable.
          If so then run code specified by commandline and exit.
        
get_all_start_methods(self)
get_context(self, method=None)
get_logger(self)

  Return package logger -- if it does not already exist then
          it is created.
        
get_start_method(self, allow_none=False)
log_to_stderr(self, level=None)

  Turn on logging and add a handler which prints to stderr
parent_process()


      Return process object representing the parent process
    
set_executable(self, executable)

  Sets the path to a python.exe or pythonw.exe binary used to run
          child processes instead of sys.executable when using the 'spawn'
          start method.  Useful for people embedding Python.
        
set_forkserver_preload(self, module_names)

  Set list of module names to try to load in forkserver process.
          This is really just a hint.
        
set_start_method(self, method, force=False)
reducer = <property object at 0x7f75e1c853a0>
  Controls how objects will be reduced to a form that can be
          shared with other processes.

ForkContext

set_start_method.AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.ForkProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

set_start_method.ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(self, typecode_or_type, size_or_initializer, *, lock=True)

  Returns a synchronized shared array
Barrier(self, parties, action=None, timeout=None)

  Returns a barrier object
BoundedSemaphore(self, value=1)

  Returns a bounded semaphore object
Condition(self, lock=None)

  Returns a condition object
Event(self)

  Returns an event object
JoinableQueue(self, maxsize=0)

  Returns a queue object
Lock(self)

  Returns a non-recursive lock object
Manager(self)

  Returns a manager associated with a running server process

          The managers methods such as `Lock()`, `Condition()` and `Queue()`
          can be used to create shared objects.
        
Pipe(self, duplex=True)

  Returns two connection object connected by a pipe
Pool(self, processes=None, initializer=None, initargs=(), maxtasksperchild=None)

  Returns a process pool object
Queue(self, maxsize=0)

  Returns a queue object
RLock(self)

  Returns a recursive lock object
RawArray(self, typecode_or_type, size_or_initializer)

  Returns a shared array
RawValue(self, typecode_or_type, *args)

  Returns a shared object
Semaphore(self, value=1)

  Returns a semaphore object
SimpleQueue(self)

  Returns a queue object
Value(self, typecode_or_type, *args, lock=True)

  Returns a synchronized shared object
active_children()


      Return list of process objects corresponding to live child processes
    
allow_connection_pickling(self)

  Install support for sending connections and sockets
          between processes
        
cpu_count(self)

  Returns the number of CPUs in the system
current_process()


      Return process object representing the current process
    
freeze_support(self)

  Check whether this is a fake forked process in a frozen executable.
          If so then run code specified by commandline and exit.
        
get_context(self, method=None)
get_logger(self)

  Return package logger -- if it does not already exist then
          it is created.
        
get_start_method(self, allow_none=False)
log_to_stderr(self, level=None)

  Turn on logging and add a handler which prints to stderr
parent_process()


      Return process object representing the parent process
    
set_executable(self, executable)

  Sets the path to a python.exe or pythonw.exe binary used to run
          child processes instead of sys.executable when using the 'spawn'
          start method.  Useful for people embedding Python.
        
set_forkserver_preload(self, module_names)

  Set list of module names to try to load in forkserver process.
          This is really just a hint.
        
set_start_method(self, method, force=False)
reducer = <property object at 0x7f75e1c853a0>
  Controls how objects will be reduced to a form that can be
          shared with other processes.

ForkProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

ForkServerContext

set_start_method.AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.ForkServerProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

set_start_method.ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(self, typecode_or_type, size_or_initializer, *, lock=True)

  Returns a synchronized shared array
Barrier(self, parties, action=None, timeout=None)

  Returns a barrier object
BoundedSemaphore(self, value=1)

  Returns a bounded semaphore object
Condition(self, lock=None)

  Returns a condition object
Event(self)

  Returns an event object
JoinableQueue(self, maxsize=0)

  Returns a queue object
Lock(self)

  Returns a non-recursive lock object
Manager(self)

  Returns a manager associated with a running server process

          The managers methods such as `Lock()`, `Condition()` and `Queue()`
          can be used to create shared objects.
        
Pipe(self, duplex=True)

  Returns two connection object connected by a pipe
Pool(self, processes=None, initializer=None, initargs=(), maxtasksperchild=None)

  Returns a process pool object
Queue(self, maxsize=0)

  Returns a queue object
RLock(self)

  Returns a recursive lock object
RawArray(self, typecode_or_type, size_or_initializer)

  Returns a shared array
RawValue(self, typecode_or_type, *args)

  Returns a shared object
Semaphore(self, value=1)

  Returns a semaphore object
SimpleQueue(self)

  Returns a queue object
Value(self, typecode_or_type, *args, lock=True)

  Returns a synchronized shared object
active_children()


      Return list of process objects corresponding to live child processes
    
allow_connection_pickling(self)

  Install support for sending connections and sockets
          between processes
        
cpu_count(self)

  Returns the number of CPUs in the system
current_process()


      Return process object representing the current process
    
freeze_support(self)

  Check whether this is a fake forked process in a frozen executable.
          If so then run code specified by commandline and exit.
        
get_context(self, method=None)
get_logger(self)

  Return package logger -- if it does not already exist then
          it is created.
        
get_start_method(self, allow_none=False)
log_to_stderr(self, level=None)

  Turn on logging and add a handler which prints to stderr
parent_process()


      Return process object representing the parent process
    
set_executable(self, executable)

  Sets the path to a python.exe or pythonw.exe binary used to run
          child processes instead of sys.executable when using the 'spawn'
          start method.  Useful for people embedding Python.
        
set_forkserver_preload(self, module_names)

  Set list of module names to try to load in forkserver process.
          This is really just a hint.
        
set_start_method(self, method, force=False)
reducer = <property object at 0x7f75e1c853a0>
  Controls how objects will be reduced to a form that can be
          shared with other processes.

ForkServerProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

Process

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

SpawnContext

set_start_method.AuthenticationError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.BufferTooShort

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.SpawnProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

set_start_method.ProcessError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

set_start_method.TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(self, typecode_or_type, size_or_initializer, *, lock=True)

  Returns a synchronized shared array
Barrier(self, parties, action=None, timeout=None)

  Returns a barrier object
BoundedSemaphore(self, value=1)

  Returns a bounded semaphore object
Condition(self, lock=None)

  Returns a condition object
Event(self)

  Returns an event object
JoinableQueue(self, maxsize=0)

  Returns a queue object
Lock(self)

  Returns a non-recursive lock object
Manager(self)

  Returns a manager associated with a running server process

          The managers methods such as `Lock()`, `Condition()` and `Queue()`
          can be used to create shared objects.
        
Pipe(self, duplex=True)

  Returns two connection object connected by a pipe
Pool(self, processes=None, initializer=None, initargs=(), maxtasksperchild=None)

  Returns a process pool object
Queue(self, maxsize=0)

  Returns a queue object
RLock(self)

  Returns a recursive lock object
RawArray(self, typecode_or_type, size_or_initializer)

  Returns a shared array
RawValue(self, typecode_or_type, *args)

  Returns a shared object
Semaphore(self, value=1)

  Returns a semaphore object
SimpleQueue(self)

  Returns a queue object
Value(self, typecode_or_type, *args, lock=True)

  Returns a synchronized shared object
active_children()


      Return list of process objects corresponding to live child processes
    
allow_connection_pickling(self)

  Install support for sending connections and sockets
          between processes
        
cpu_count(self)

  Returns the number of CPUs in the system
current_process()


      Return process object representing the current process
    
freeze_support(self)

  Check whether this is a fake forked process in a frozen executable.
          If so then run code specified by commandline and exit.
        
get_context(self, method=None)
get_logger(self)

  Return package logger -- if it does not already exist then
          it is created.
        
get_start_method(self, allow_none=False)
log_to_stderr(self, level=None)

  Turn on logging and add a handler which prints to stderr
parent_process()


      Return process object representing the parent process
    
set_executable(self, executable)

  Sets the path to a python.exe or pythonw.exe binary used to run
          child processes instead of sys.executable when using the 'spawn'
          start method.  Useful for people embedding Python.
        
set_forkserver_preload(self, module_names)

  Set list of module names to try to load in forkserver process.
          This is really just a hint.
        
set_start_method(self, method, force=False)
reducer = <property object at 0x7f75e1c853a0>
  Controls how objects will be reduced to a form that can be
          shared with other processes.

SpawnProcess

close(self)


          Close the Process object.

          This method releases resources held by the Process object.  It is
          an error to call this method if the child process is still running.
        
is_alive(self)


          Return whether process is alive
        
join(self, timeout=None)


          Wait until child process terminates
        
kill(self)


          Terminate process; sends SIGKILL signal or uses TerminateProcess()
        
run(self)


          Method to be run in sub-process; can be overridden in sub-class
        
start(self)


          Start child process
        
terminate(self)


          Terminate process; sends SIGTERM signal or uses TerminateProcess()
        
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70>

          Return whether process is a daemon
        
exitcode = <property object at 0x7f75e1c84b80>

          Return exit code of process or `None` if it has yet to stop
        
ident = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0>

          Return identifier (PID) of process or `None` if it has yet to start
        
sentinel = <property object at 0x7f75e1c84d10>

          Return a file descriptor (Unix) or handle (Windows) suitable for
          waiting for process termination.
        

TimeoutError

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

Functions

assert_spawning

assert_spawning(obj)

get_spawning_popen

get_spawning_popen()

set_spawning_popen

set_spawning_popen(popen)

Modules

os

process

reduction

sys

threading