parcels
parcels copied to clipboard
JIT print statements not redirected to standard out in python3
Capturing of print()
statements from JIT does not work well in Python3 (and also Windows). On jupyter notebooks, the printed output ends up in the terminal, not the notebook itself. And the py.test function for print does not work for Python3.
There are some hints how to possibly fix this on https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/