[Python-Dev] What if we didn't have repr? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 22 01:14:35 CEST 2013
- Previous message: [Python-Dev] What if we didn't have repr?
- Next message: [Python-Dev] PEP 409 and the stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ć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
- Previous message: [Python-Dev] What if we didn't have repr?
- Next message: [Python-Dev] PEP 409 and the stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]