[Python-3000] PEP 3138- String representation in Python 3000
Oleg Broytmann
phd at phd.pp.ru
Tue May 27 22:14:50 CEST 2008
On Tue, May 27, 2008 at 03:04:02PM -0500, Jeffrey Yasskin wrote:
> On Tue, May 27, 2008 at 2:33 PM, Jim Jewett <jimjjewett at gmail.com> wrote:
> > I say that repr should (insetad) start recognizing when it was called
> > in place of __str__, and should revert back to __str__ when it
> > recurses down to the next level.
>
> That sounds like a PEP you should write, which, if accepted, might
> obviate some of the rationale for this one.
I have wrote the PEP. The draft is being discussed now in the Russian
Python and Zope mailing list. I will post it here tomorrow.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-3000
mailing list