Message294552
| Author | rhettinger |
|---|---|
| Recipients | Jim Fasarakis-Hilliard, Julian, Sean.Ochoa, eamanu, eric.araujo, ezio.melotti, ncoghlan, petri.lehtinen, rhettinger, serhiy.storchaka, terry.reedy, vstinner |
| Date | 2017-05-26.15:16:43 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1495811803.7.0.0998866713978.issue13349@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |