'When displaying an error in :meth:`handle_exception` we
want to give context such as when the commands being executed
came from a .read command (which in turn could execute another
.read).'

def _append_input_description(self):

    if self.interactive:
        return
    res = []
    res.append(('Line    %d' % (self.input_line_number,)))
    res.append((':    ' + getattr(self.stdin, 'name', '<stdin>')))
    self._input_descriptions.append('    '.join(res))
