You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at this briefly some time ago when looking at Local's performance. IIRC (and I might be misremembering), the difficulty was that contextvars is rooted in a thread local, while Local can be inherited across threads. The semantics are quite different.
I noticed
local.py
has a comment sayingasgiref/asgiref/local.py
Lines 29 to 30 in a90aeb9
which is at odds with the changelog entry for 3.7.0 of this library:
asgiref/CHANGELOG.txt
Lines 14 to 18 in a90aeb9
(I noticed
sync.py
usescontextvars.Context
, butlocal.py
doesn't. Maybe there was confusion there?)Either way, what would be the "nicer storage"? Is someone working on it? :)
The text was updated successfully, but these errors were encountered: