Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.5 change from m_reload to m_slot in PyModuleDef #56

Closed
JanKaul opened this issue Aug 18, 2016 · 0 comments
Closed

Python3.5 change from m_reload to m_slot in PyModuleDef #56

JanKaul opened this issue Aug 18, 2016 · 0 comments

Comments

@JanKaul
Copy link

JanKaul commented Aug 18, 2016

Since Version 3.5 the member "m_reload" of the PyModuleDef changed to "m_slots". I think this is currently not the case for the Rust bindings.

PyModuleDef_Slot* m_slots

An array of slot definitions for multi-phase initialization, terminated by a {0, NULL} entry. When using single-phase initialization, m_slots must be NULL.

Changed in version 3.5: Prior to version 3.5, this member was always set to NULL, and was defined as:

inquiry m_reload

https://docs.python.org/3/c-api/module.html?highlight=pymoduledef#c.PyModuleDef.m_slots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant