[Python-Dev] string representation of range in 3.0

Guido van Rossum guido at python.org
Thu Apr 17 00:30:12 CEST 2008


No, tp_print is dead, unless I am terribly mistaken. (We didn't remove
the slot because that would require updating every single static type
initializer.)

On Wed, Apr 16, 2008 at 2:39 PM, Christian Heimes <lists at cheimes.de> wrote:
> Guido van Rossum schrieb:
>
> > Why only str()? Note that the interactive prompt uses repr() to display values.
>
>  Does py3k still use the tp_print slot for the interactive prompt?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list