ionelmc / python-tblib

Serialization library for Exceptions and Tracebacks.
BSD 2-Clause "Simplified" License
165 stars 33 forks source link

Traceback and exception via JSON ? #80

Open stuaxo opened 3 months ago

stuaxo commented 3 months ago

Is it possible to send an exception and tracebacks serialized to json then reconstitute on the other side, while avoiding the pickle module ?

I'm looking at implementing RCF 9457, which is about sending exception info over the wire - it can have extra fields, so ideally I could send all this info over, but avoiding pickle.