[Python-3000] Recursive str

Guido van Rossum guido at python.org
Wed Apr 16 18:52:27 CEST 2008


[Jason Orendorff]
>  Or have str.__repr__() respect per-thread settings, the way decimal
>  arithmetic does.

I don't think that's a very compelling example. I have serious issues
with having global or per-thread state that can change the outcome of
repr(); it would make it impossible to write correct code involving
repr() because you can never know what it will do the next time.

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


More information about the Python-3000 mailing list