On Tue, 5 Apr 2011 12:57:13 -0700 Raymond Hettinger <raymond.hettin...@gmail.com> wrote: > > * I would like to see a restriction on the use of > the concrete C API such that it is *only* used > when a exact type match has been found or created > (i.e. if someone writes Py_ListNew(), then it > is okay to use Py_ListSetItem()).
That should be qualified. For example, not being able to use PyUnicode_AS_STRING in some performance-critical code (such as the io lib) would be a large impediment. 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