def startElement(self, name, attrs):
        try:
            fn = self._start_handlers[name]
        except __HOLE__:
            if self._error_mode == self.ERR_MODE_IGNORE:
                fn = self._ignore
            else:
                raise SAXException('No start handler for tag {0!r}'.format(name))  # FIXME: better exception
        self._tag_stack.append(name)
        fn(attrs)
dataset/ETHPy150Open cidles/graf-python/src/graf/io.py/SAXHandler.startElement