Re: [Python-Dev] PyString_FromFormat

2006-06-19 Thread Martin v. Löwis
Kristján V. Jónsson wrote: > One thing I have often lamented having in PyString_FromFormat (and > cousins, like PyErr_Format) is to be able to integrate PyObject > pointers. Adding something like %S and %R (for str() and repr() > respectively) seems very useful to me. Is there any reason why this

Re: [Python-Dev] PyString_FromFormat

2006-06-19 Thread Guido van Rossum
On 6/19/06, Kristján V. Jónsson <[EMAIL PROTECTED]> wrote: > One thing I have often lamented having in PyString_FromFormat (and cousins, > like PyErr_Format) is to be able to integrate PyObject pointers. Adding > something like %S and %R (for str() and repr() respectively) seems very > useful to m

[Python-Dev] PyString_FromFormat

2006-06-19 Thread Kristján V . Jónsson
One thing I have often lamented having in PyString_FromFormat (and cousins, like PyErr_Format) is to be able to integrate PyObject pointers.  Adding something like %S and %R (for str() and repr() respectively) seems very useful to me.  Is there any reason why this isn´t there?   Cheers,   Kr