These are chat archives for ipython/ipython

22nd
Sep 2015
Min RK
@minrk
Sep 22 2015 07:55
Yup, IPython requires it when hooking up GUI eventloops, both in the terminal and the kernel.
Pretty sure it's not needed for the qtconsole, if that's what you are after. It's mainly when a GUI eventloop is involved, but the primary interaction is not through the GUI.
Tyler Reddy
@tylerjereddy
Sep 22 2015 08:59
When I have a workflow involving 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.
Min RK
@minrk
Sep 22 2015 09:01
@tylerjereddy getting stdout from multiprocessing is indeed frustratingly complicated. Can you share an example notebook?
Min RK
@minrk
Sep 22 2015 09:07
(and identify versions conda list or pip list)
Tyler Reddy
@tylerjereddy
Sep 22 2015 09:52
@minrk I'm having trouble producing a minimum working example with the issue. Hopefully that's a good thing, but will share a notebook if I can reproduce the behaviour reliably.