bpo-32630: Use contextvars in the decimal module#5278
Conversation
njsmith
left a comment
There was a problem hiding this comment.
Maybe I missed it, but I don't see anything to make with localcontext(...) use the token to reset?
There was a problem hiding this comment.
The comment right about this line is wrong now.
There was a problem hiding this comment.
This doesn't use the thread state dictionary at all anymore?
There was a problem hiding this comment.
"thread local" is a bit confusing here.
Correct, I didn't use the For 3.7 it doesn't really matter if |
782042f to
7f770af
Compare
https://bugs.python.org/issue32630