'Helper method to log about the current state'

def _logVariables(self):

    if (log.level >= logging.DEBUG):
        log.debug('                lineno:%r,    state:%r,    depth:%r', self.lineno, self.state, self.depth)
        log.debug('                currentScope:    %r', self.currentScope)
        log.debug('')
