Message294552
See http://bugs.python.org/issue30477 for why I think this shouldn't be done. In short, the IndexError may be part of control flow (looping over successive matches) rather than an error (this patch adds a time/space cost with no benefit in those cases). The repr itself may be large resulting in an unusable error message. The repr may be expensive to compute for some objects. |
|
Date |
User |
Action |
Args |
2017-05-26 15:16:43 | rhettinger | set | recipients:
+ rhettinger, terry.reedy, ncoghlan, vstinner, ezio.melotti, eric.araujo, Julian, petri.lehtinen, serhiy.storchaka, Sean.Ochoa, Jim Fasarakis-Hilliard, eamanu |
2017-05-26 15:16:43 | rhettinger | set | messageid: <1495811803.7.0.0998866713978.issue13349@psf.upfronthosting.co.za> |
2017-05-26 15:16:43 | rhettinger | link | issue13349 messages |
2017-05-26 15:16:43 | rhettinger | create | |
|