Closed Fuyukai closed 6 years ago
Do you think that contextvars should simply be enabled and always supported when available? Or should it be an optional feature that's turned on if requested?
(I'm not sure I have a strong opinion either way. Just brain dumping here).
Does it have anything to do with maintaining current_taak?
I personally think that they should be enabled and supported always, as it means there's no extra requirement for an app to use them other than use 3.7 or depend on contextvars for <3.6, instead of having to turn them on yourself (also can interact with libraries weirdly).
Ok, I'm sold!
I had to revert this pull request since it broke some stuff with async threads. I'm going to revisit this, but the implementation will be different.
Should work as expected on <3.7.