[Python-Dev] Adding a threadlocal to the Python interpreter

Daniel Holth dholth at gmail.com
Wed May 18 09:20:41 EDT 2016


I would like to take another stab at adding a threadlocal "str(bytes)
raises an exception" to the Python interpreter, but I had a very hard time
understanding both how to add a threadlocal value to either the interpreter
state or the threadlocal dict that is part of that state, and then how to
access the same value from both Python and CPython code. The structs were
there but it was just hard to understand. Can someone explain it to me?

Thanks,

Daniel Holth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160518/79c7c7ec/attachment.html>


More information about the Python-Dev mailing list