Feature or enhancement
Proposal:
contextvars.Context is documented as implementing the collections.abc.Mapping interface. I believe we should register it to the abc, so an isinstance check can work.
This is similar to #126417 .
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
A small amount of prior discussion occurred in an issue for typeshed: python/typeshed#12873
Linked PRs
Feature or enhancement
Proposal:
contextvars.Contextis documented as implementing the collections.abc.Mapping interface. I believe we should register it to the abc, so anisinstancecheck can work.This is similar to #126417 .
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
A small amount of prior discussion occurred in an issue for typeshed: python/typeshed#12873
Linked PRs
contextvars.Contextand multiprocessing proxies #126734