Message399538
> >> I want to get rid of PyCode_NewWithPosArgs() and just have PyCode_New().
> That as added because of PEP 387 and unfortunately removing it is backwards incompatible.
Is changing the signature allowed? Because it *must* be changed (at the very least to accommodate the exceptiontable, but there are several others too -- your PEP 657 touched it last to add endlinetable and columntable).
I think this was a mistake in PEP 387 and we just need to retract that. Perhaps it could be left as a dummy that always returns an error?
> >> I propose we declare all APIs for code objects *unstable*, liable to change each (feature) release.
> I agree that we should do this, but this needs at least a discussion in python-dev because currently these APIs are protected by PEP 387 so changing them is backwards incompatible
Yeah that's the crux. :-( |
|
Date |
User |
Action |
Args |
2021-08-13 14:24:33 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, scoder, vstinner, petr.viktorin, chris.jerdonek, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, ammar2, corona10, pablogsal, Dennis Sweeney, erlendaasland, Yonatan Goldschmidt, hauntsaninja |
2021-08-13 14:24:33 | gvanrossum | set | messageid: <1628864673.24.0.637318290574.issue40222@roundup.psfhosted.org> |
2021-08-13 14:24:33 | gvanrossum | link | issue40222 messages |
2021-08-13 14:24:33 | gvanrossum | create | |
|