Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py3.10/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion py3.11/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion py3.12/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion py3.13/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion py3.14/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion py3.9/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion pypy3.10/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion pypy3.11/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down
2 changes: 1 addition & 1 deletion pypy3.9/multiprocess/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,
job, i, func, args, kwds = task
try:
result = (True, func(*args, **kwds))
except Exception as e:
except BaseException as e:
if wrap_exception and func is not _helper_reraises_exception:
e = ExceptionWithTraceback(e, e.__traceback__)
result = (False, e)
Expand Down