Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/g/r/gridmap-0.12.3/gridmap/runner.py   gridmap(Download)
_SLEEP_STATUSES = {psutil.STATUS_SLEEPING, psutil.STATUS_DEAD,
                   psutil.STATUS_IDLE, psutil.STATUS_STOPPED,
                   psutil.STATUS_ZOMBIE}
 
 

src/g/r/gridmap-HEAD/gridmap/runner.py   gridmap(Download)
_SLEEP_STATUSES = {psutil.STATUS_SLEEPING, psutil.STATUS_DEAD,
                   psutil.STATUS_IDLE, psutil.STATUS_STOPPED,
                   psutil.STATUS_ZOMBIE}
 
 

src/c/i/circus-0.10.0/circus/process.py   circus(Download)
import warnings
 
from psutil import Popen, STATUS_ZOMBIE, STATUS_DEAD, NoSuchProcess
 
from circus.py3compat import bytestring, string_types
        """
        try:
            if self._worker.status in (STATUS_ZOMBIE, STATUS_DEAD):
                return DEAD_OR_ZOMBIE
        except NoSuchProcess:

src/c/i/circus-HEAD/circus/process.py   circus(Download)
import warnings
 
from psutil import Popen, STATUS_ZOMBIE, STATUS_DEAD, NoSuchProcess
 
from circus.py3compat import bytestring, string_types, quote
        """
        try:
            if get_status(self._worker) in (STATUS_ZOMBIE, STATUS_DEAD):
                return DEAD_OR_ZOMBIE
        except NoSuchProcess:

src/d/e/desub-1.0.3/desub/desub.py   desub(Download)
                if proc.status in (psutil.STATUS_STOPPED,
                                   psutil.STATUS_DEAD,
                                   psutil.STATUS_ZOMBIE):
                    # The PID is still in the process table so call stop to
                    # remove the PID.

src/s/h/sheep-0.3.10/sheep/shepherd.py   sheep(Download)
 
            proc = psutil.Process(pid)
            if proc.status() not in (psutil.STATUS_ZOMBIE, psutil.STATUS_DEAD, psutil.STATUS_STOPPED):
                procs.append((worker_index, pid))
            else:

src/s/h/sheep-HEAD/sheep/shepherd.py   sheep(Download)
 
            proc = psutil.Process(pid)
            if proc.status() not in (psutil.STATUS_ZOMBIE, psutil.STATUS_DEAD, psutil.STATUS_STOPPED):
                procs.append((worker_index, pid))
            else:

src/r/e/rejected-3.3.0/rejected/mcp.py   rejected(Download)
        """
        try:
            if process.status in [psutil.STATUS_DEAD, psutil.STATUS_ZOMBIE]:
                try:
                    LOGGER.debug('Found dead or zombie process with '

src/r/e/rejected-HEAD/rejected/mcp.py   rejected(Download)
        """
        try:
            if process.status in [psutil.STATUS_DEAD, psutil.STATUS_ZOMBIE]:
                try:
                    LOGGER.debug('Found dead or zombie process with '

src/p/s/psrecord-HEAD/psrecord/main.py   psrecord(Download)
 
        # Check if process status indicates we should exit
        if pr.status in [psutil.STATUS_ZOMBIE, psutil.STATUS_DEAD]:
            break
 

  1 | 2  Next