Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38787: Add PyCFunction_CheckExact() macro for exact type checks (GH-20024) | scoder | 2020-05-12 | 1 | -0/+3 |
| | | | | | … now that we allow subtypes of PyCFunction. Also add PyCMethod_CheckExact() and PyCMethod_Check() for checks against the PyCMethod subtype. | ||||
* | bpo-38787: C API for module state access from extension methods (PEP 573) ↵ | Petr Viktorin | 2020-05-07 | 1 | -0/+32 |
(GH-19936) Module C state is now accessible from C-defined heap type methods (PEP 573). Patch by Marcel Plch and Petr Viktorin. Co-authored-by: Marcel Plch <mplch@redhat.com> Co-authored-by: Victor Stinner <vstinner@python.org> |