On Sun, Jan 16, 2011 at 2:07 AM, Stefan Behnel <stefan...@behnel.de> wrote: > Hi, > > Python 3.2 comes with a stable ABI for extension modules. > > http://www.python.org/dev/peps/pep-0384/
I hadn't seen that, interesting. I can see how this would be useful for Windows users. > It would be nice if Cython provided an option to restrict the C-API usage > to what the ABI considers fixed and stable. That would disable excesive > optimisations like list.pop(), but also disallow several other assumptions > that we use all over the place in the generated C code. > > I'd figure it would be a somewhat involved change, though... It would be nice to have the option, but I'm not sure how restrictive it would be. For example, would we even be able to construct tracebacks for exception propagation? It's probably worth making an attempt though to see how hard it would be (and, if necessary, perhaps we could push to extend the ABI). - Robert _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev