[Python-3000] PyObject_AsString()

Christian Heimes lists at cheimes.de
Thu Nov 22 11:30:04 CET 2007


Amaury Forgeot d'Arc wrote:
> Could this code replace the current PyString_AsStringAndSize, instead
> of creating a new function?

I guess it could. But it's a naming question. The method is more general
and takes more than just instances of PyString and its subclasses.
Therefor I think it should be part of the abstract protocol. Guido? :)

Christian




More information about the Python-3000 mailing list