[Python-3000] PEP 3121 implemented
stefan_ml at behnel.de
Thu Jun 12 08:18:42 CEST 2008
Stefan Behnel wrote:
> Martin v. Löwis wrote:
>> I just finished a PEP 3121 implementation
> Maybe a bit late for this question, but:
> Was it necessary to remove Py_InitModule4() for this change? We use that in
> Cython, so this breaks building extension module in current Py3.
Hmmm, ok, looking into this some more, I realise that this was obviously
necessary to replace the API. When I first read this PEP, I imagined that this
would appear in addition to what was there already, or at least that there'd
be a compatibility layer.
So, next question: what's the migration path to write portable code, then? Up
to this change, we supported every Python version starting from 2.3, including
3.0alpha5, and it would be nice to continue to do so with 3.0 final.
More information about the Python-3000