ionelmc / python-tblib

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

Added disable/enable_stringify_locals to pickling_support #59

Closed marcoffee closed 1 year ago

marcoffee commented 4 years ago

Those functions are useful when you need to pass the frames along with a representation of the local variables on a stack, such as on tracing. I also added an example of usage to the README.rst file. On the future, this functionality can be expanded as being proposed on #41, where only non-pickable variables may be converted to string. It looks like only the checks for the docs are failing here, but they were already failing on master branch.

ionelmc commented 1 year ago

This needs to be reworked a bit, lets discuss in #41.

ionelmc commented 1 year ago

Fixed by 7d43708.