Message269668
This is by design. The short option was introduced to use in specific asserts (assertDictEqual and assertMultilineEqual; see 8b8701551253). These were later enhanced to do an even better job of abbreviating the output usefully, but the short option on safe_repr was not removed even though it is no longer used, for backward compatibility reasons.
If you would like for there to be a way to toggle safe_repr's default, that would be a new feature request, and seems like a reasononable feature to me. The new feature should incorporate a way to set _MAX_LENGTH as well. |
|
Date |
User |
Action |
Args |
2016-07-01 13:52:20 | r.david.murray | set | recipients:
+ r.david.murray, Camilla Ke |
2016-07-01 13:52:20 | r.david.murray | set | messageid: <1467381140.74.0.300880556397.issue27432@psf.upfronthosting.co.za> |
2016-07-01 13:52:20 | r.david.murray | link | issue27432 messages |
2016-07-01 13:52:20 | r.david.murray | create | |
|