Skip to content

Accessing the module object in pyfunctions #828

@birkenfeld

Description

@birkenfeld

In the C API, module-level functions get passed their registered module object as the self parameter. This is very nice to interact with other module level API.

Can we (optionally?) make the module reference available in pyfunctions too?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions