Greg Ewing <[EMAIL PROTECTED]> wrote: >> * An easier C API would significantly benefit the language in terms >> of more extensions being available and in terms of increased >> reliability for those extensions. The current refcount scheme >> results in pervasive refleak bugs and subsequent, interminable >> bughunts. > > It's not clear that a different scheme would be much > different, though. If it's not refcounting, there will > be some other set of rules that must be followed, with > equally obscure bugs if you slip up.
Agreed. > Also, at least half of the boilerplate is due to the > necessity of checking for errors at each step. A > different GC scheme wouldn't help with that. Given that C handles in an equally-bad fashion errors (need manual checks at every step) and finalizers (need to manually refcount and de-refcount), maybe a C++Python is in order? ATL helped somewhat with COM refcounting, after all. Giovanni Bajo _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
