[Python-Dev] Re: API change in 2.2.1c1

Martin v. Loewis martin@v.loewis.de
21 Mar 2002 18:50:37 +0100


"Fred L. Drake, Jr." <fdrake@acm.org> writes:

> I'm pretty sure I asked you to proofread that at one point, though I
> don't recall whether you did.

Given this API, I assume modules who use PyCell_GET would crash; if
authors restrict themselves to the non-macro versions, and never
declare PyCellObject variables (only pointers), the modules will
continue to work.

I'm personally fine with the assertion that nobody did this, so it is
ok to change (thus breaking the ABI). If so, the argument "fix it
sooner rather than later" escapes me, though.

In any case: you have been warned...

Regards,
Martin