fallback on flint.util.iter_child_nodes for Python 2.5