Skip to content

Expose contextvars CPython implementation #2281

@pfreixes

Description

@pfreixes

Hi,

I'm planning on use contextvars [1] within a Cython code and I would like to have access to the CPython implementation instead of accessing through the generic Python module.

Does it make sense?

In such case, I could try to work on a PR that would define the methods as a new include file behind the generic Include/cpython directory.

[1] https://docs.python.org/dev/library/contextvars.html#module-contextvars

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions