thiell/test — Issue #222: pydoc documentation for "current_" Worker instance variables
Author: thiell
Created: 2012-03-03 16:36:53+00:00
State: open
Labels: Lib/Worker

Documentation is missing for the following Worker instance variables:
{{{
worker.current_node
worker.current_msg
worker.current_errmsg
worker.current_rc
}}}

There are useful when handling worker events through {{{EventHandler}}} subclasses to access current associated data (current node, current stdout message in {{{ev_read}}} or stderr message in {{{ev_error}}}, or current return code in {{{ev_hup}}}).

Old API, ie. {{{worker.last_read()}}}, {{{worker.last_error()}}} and {{{worker.last_retcode()}}} are now deprecated: this point should be added also in documentation.