Łukasz Langa wrote:
1. Make __str__() a protocol for arbitrary string conversion.
2. Move the current __repr__() contracts, both firm and informal to a
new, extensible version of pprint.
-1. The purposes of repr() and pprint() are quite different.
Please let's not make any sweeping changes about str() and
repr(). They're generally okay as they are, IMO.
--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com