On Sat, 3 Mar 2012 18:20:22 -0800 Thomas Wouters <tho...@python.org> wrote: > > I'm not sure how the ABCs, which are abstract declarations of semantics, > tie into this specific implementation detail. ABCs work just as well for > Python types as for C types, and Python types don't have this distinction. > The distinction in C types has been *practically* useless for years, so why > should it stay? What is the actual benefit here?
For one, it's certainly easier to implement an extension type if your getitem function receives a Py_ssize_t directly, rather than a PyObject. (it can be more efficient too) Regards Antoine. _______________________________________________ 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