A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1846/ below:

Exceptions within multiprocessing crash Ipython notebook kernel · Issue #1846 · ipython/ipython · GitHub

Running the following code in the Ipython notebook causes the kernel to crash:

from multiprocessing import Pool
import numpy as np

x = np.arange(10)

def myfunc(a):
    raise Exception

pool = Pool()
pool.map(myfunc, x)

Running the same code in the ipython console causes the Exception to be raised with no trouble. I am running Ipython 0.12.1, on Python 2.7.3, Ubuntu 12.04 x86_64


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4