1.66+ puts functions and sections into the same namespace
My project fails to build with 1.66+ because functions and sections now seem to be in the same namespace. I have a function called
vips_error(), and a
SECTION: error, and they trigger a namespace conflict in
Is this deliberate? It seems like a big change.
I found it by changing the exception in append in ast.py like this:
raise ValueError("Namespace conflict: %r, %s, previous %s" % (node, node.doc_position, previous.doc_position))
I could make a PR for this and similar messages if that would be useful.