Lines Matching refs:mark
525 def find_python_module(self, name, mark, unsafe=False):
527 raise ConstructorError("while constructing a Python module", mark,
528 "expected non-empty name appended to the tag", mark)
533 raise ConstructorError("while constructing a Python module", mark,
534 "cannot find module %r (%s)" % (name, exc), mark)
536 raise ConstructorError("while constructing a Python module", mark,
537 "module %r is not imported" % name, mark)
540 def find_python_name(self, name, mark, unsafe=False):
542 raise ConstructorError("while constructing a Python object", mark,
543 "expected non-empty name appended to the tag", mark)
553 raise ConstructorError("while constructing a Python object", mark,
554 "cannot find module %r (%s)" % (module_name, exc), mark)
556 raise ConstructorError("while constructing a Python object", mark,
557 "module %r is not imported" % module_name, mark)
560 raise ConstructorError("while constructing a Python object", mark,
562 % (object_name, module.__name__), mark)
715 def find_python_module(self, name, mark):
716 return super(UnsafeConstructor, self).find_python_module(name, mark, unsafe=True)
718 def find_python_name(self, name, mark):
719 return super(UnsafeConstructor, self).find_python_name(name, mark, unsafe=True)