computerfarmer has joined #hpy
_whitelogger has joined #hpy
computerfarmer has quit [Read error: Connection reset by peer]
computerfarmer has joined #hpy
computerfarmer has quit [Read error: Connection reset by peer]
<mattip> cython uses PEP489 multi-phase initialization on CPython 3.5+, but not on PyPy or Pyston
<mattip> via the CYTHON_PEP489_MULTI_PHASE_INIT macro, which is 1 when supported or 0 when not
<mattip> it seems hpy does HPyModule_Create which calls ctx_Module_Create, which calls PyModule_Create and returns the module
<mattip> so hpy always does PEP489 initialization ?
<mattip> ahh, no, sorry, I see PyModule_Create is the legacy interface, PEP489 uses PyModuleDef_Init
<mattip> so hpy _never_ does PEP489 initialization
<ronan> mattip: however, we're planning on moving to PEP 489, see https://github.com/hpyproject/hpy/pull/184
<mattip> ahh. Will that be conditional or unconditional?
<mattip> and what will happen for PyPy?
<ronan> That should be unconditional, and pypy already supports it in cpyext, I think, though I guess it'll need to be reimplemented in _hpy_universal