These are chat archives for ipython/ipython
multiprocessing.Pool()in a Jupyter notebook, the behaviour of stdout seems quite strange. More specifically, executing any cell with any valid Python code (even just
#) will print out a bunch of numbers (looks like they are probably from the callback function invoked by
pool.apply_async()). It is a bit like stdout is just flushing out the same values over and over again once I've executed the pool code, even if I then execute code that has nothing to do with the pool.