SciPy

numpy.nditer.debug_print

nditer.debug_print()

Print the current state of the nditer instance and debug info to stdout.