Re: [Python-Dev] Changing PyModuleDef.m_reload to m_slots

2015-04-24 Thread Nick Coghlan
On 18 April 2015 at 15:58, Stefan Behnel wrote: > Petr Viktorin schrieb am 17.04.2015 um 15:52: >> As a background, the PyModuleDef structure [1] is currently: >> >> struct PyModuleDef{ >> PyModuleDef_Base m_base; >> const char* m_name; >> const char* m_doc; >> Py_ssize

Re: [Python-Dev] Changing PyModuleDef.m_reload to m_slots

2015-04-17 Thread Stefan Behnel
Petr Viktorin schrieb am 17.04.2015 um 15:52: > As a background, the PyModuleDef structure [1] is currently: > > struct PyModuleDef{ > PyModuleDef_Base m_base; > const char* m_name; > const char* m_doc; > Py_ssize_t m_size; > PyMethodDef *m_methods; > inquir

[Python-Dev] Changing PyModuleDef.m_reload to m_slots

2015-04-17 Thread Petr Viktorin
Hello, PEP 489, Redesigning extension module loading [0], is currently discussed on import-sig, but one question calls for a wider audience. As a background, the PyModuleDef structure [1] is currently: struct PyModuleDef{ PyModuleDef_Base m_base; const char* m_name; cons