Skip to content

Commit b5fd3c6

Browse files
authored
Merge pull request #15 from realratchet/main
Add some missing exception info
2 parents fbd0eed + c5e48ce commit b5fd3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mplite/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from multiprocessing.context import BaseContext
1111
import tblib.pickling_support as pklex
1212

13-
major, minor, patch = 1, 3, 0
13+
major, minor, patch = 1, 3, 1
1414
__version_info__ = (major, minor, patch)
1515
__version__ = '.'.join(str(i) for i in __version_info__)
1616
default_context = "spawn"
@@ -319,7 +319,7 @@ def pickle_exception(e: Exception):
319319
else:
320320
tback = None
321321

322-
fn_ex, (ex_cls, ex_txt, ex_rsn, _, *others) = pklex.pickle_exception(e)
322+
fn_ex, (ex_cls, ex_txt, ex_rsn, _, *others), *_ = pklex.pickle_exception(e)
323323

324324
return fn_ex, (ex_cls, ex_txt, ex_rsn, tback, *others)
325325

0 commit comments

Comments
 (0)