Skip to content

Unclear which slot definition macro to use #149716

@philthompson10

Description

@philthompson10

Documentation

When using the new module slot definition macros added in v3.15b1 it's not clear which one to use for the Py_mod_gil and Py_mod_multiple_interpreters slots. The values are cast to void * (implying PySlot_DATA) but PySlot_INT64 or PySlot_UINT64 is more obvious.

It would be good if the docs did the same as for Py_mod_abi

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions