if isinstance(e, Symbol):
evaluation.quiet_messages.discard((e.get_name(), "trace"))
continue
elif e.has_form("MessageName", 2):
symb, msg = e.get_leaves()
symb_name = symb.get_name()msg_string = msg.get_string_value()
if not (symb_name is None or msg_string is None):
evaluation.quiet_messages.discard((symb_name, msg_string))
continue
evaluation.message("Message", "name", e)
After Change
for e in seq:
if isinstance(e, Symbol):
quiet_messages.discard(Expression("MessageName", e, String("trace")))
elif check_message(e):
quiet_messages.discard(e)
else:
evaluation.message("Message", "name", e)