176
178
# Same document, many queries: use XPathEvaluator.
177
179
evaluator = etree.XPathEvaluator(doc)
179
181
memory = evaluator(_xpath_memory_bytes)
180
182
if not memory or math.isnan(memory):
187
208
def set_virtual_tag(node, output, exit_status):
188
209
"""Process the results of `VIRTUALITY_SCRIPT`.