Dear experts,
in ParaView 5.13, what is the inspect [1] module used for - I don’t see any entry in the documentation about it. Does it correspond to the site-packages/paraview/inspect.py file ?
If this is the case, IMHO, the name is a little bit error-prone since inspect is also the name of a module in numpy (in 1.26 for instance, one has: numpy.compat.inspect). This can lead to some serious issues if the PYTHONPATH is expanded.
It’s not possible to anticipate collisions of names with every other python package one might import all the symbols from. Putting it under the paraview package is a reasonable way to guard against such collisions.
Wildcard imports (from <module> import * ) should be avoided, as they make it unclear which names are present in the namespace, confusing both readers and many automated tools.