The "numpy" / "scipy" code contains a module that triggered an endless loop,
trying to find the parent function.
This happened because the module, was parented to the import statement that
imported it. But modules should have no parent. So the search for the function
was continued in another module's code, which may have lead to wrong results
too.
The fix is of course to avoid becoming the parent of the module in the import
expression.
|