[Python-Dev] What if we didn't have repr?
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed May 22 01:14:35 CEST 2013
More information about the Python-Dev mailing list
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 ]
More information about the Python-Dev mailing list