ethereum / asyncio-run-in-process

A simple asyncio friendly replacement for multiprocessing to run coroutines in a separate process.
MIT License
13 stars 9 forks source link

Unpickleable exceptions raised in subprocess cause us to crash #30

Closed gsalgado closed 3 years ago

gsalgado commented 3 years ago

Custom exceptions whose constructor require multiple arguments cannot be pickled (https://bugs.python.org/issue32696) and that currently cause us to crash

One example of such exception is rlp.exceptions.SerializationError

gsalgado commented 3 years ago

I meant to open this on trio-run-in-process