Package pybaz :: Package backends :: Module commandline :: Class DelayedGuessedSpawningStrategy
[frames] | no frames]

Class DelayedGuessedSpawningStrategy

source code

      object --+    
               |    
SpawningStrategy --+
                   |
                  DelayedGuessedSpawningStrategy

SpawningStrategy that uses Twisted if it is present in ``sys.modules``.

This SpawningStrategy tries to do the right thing my looking at
the contents of ``sys.modules``: if "twisted" or a module of that
package is loaded when the first spawning method is run, it will
use the Twisted spawning strategy. Otherwise, it will use a simple
fork/exec spawning strategy which does not depend on Twisted.



Instance Methods
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
sequence_cmd(self, *args, **kwargs)
 
status_cmd(self, *args, **kwargs)
 
status_text_cmd(self, *args, **kwargs)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __pychecker__ = 'no-override'
Properties

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

sequence_cmd(self, *args, **kwargs)

 
Overrides: SpawningStrategy.sequence_cmd

status_cmd(self, *args, **kwargs)

 
Overrides: SpawningStrategy.status_cmd

status_text_cmd(self, *args, **kwargs)

 
Overrides: SpawningStrategy.status_text_cmd