M.-A. Lemburg wrote: >>I don't believe the change is major. It only affects a few extensions, >>and for these, it is only a minor change. A single line of changing >>will be enough. > > > This is true for all the changes related to parameters passed by > value. It is not true for output parameters. For these, the > change will propagate into the extension and make quite a few > changes necessary (for the same reason you have to change > so many variables to Py_ssize_t).
For the output parameter, just the variable receiving the value needs to be changed, and you are done. > We should make it possible to have a simple recompile of old > extensions continue to work with Python 2.5 (albeit without > them supporting 64-bit indexes) and without introducing > segfaults or buffer overflows that way. I cannot see how this could reasonably achieved for arbitrary extension modules. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com