Message290745
| Author |
Jim Fasarakis-Hilliard |
| Recipients |
Jim Fasarakis-Hilliard, Julian, Sean.Ochoa, eamanu, eric.araujo, ezio.melotti, ncoghlan, petri.lehtinen, serhiy.storchaka, terry.reedy, vstinner |
| Date |
2017年03月28日.17:06:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1490720809.47.0.990785865482.issue13349@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yes, that does look like too much. My rationale for adding quotes around the value was in order to make it more clear in cases where the repr exceeds 100 characters.
Instead of:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 2 not in list
Have it clearly distinguished by using "":
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 2" not in list
I'm not sure if there's a trivial way to not display so many quotes in the case you supplied, you're better suited to decide if this can be done somehow. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年03月28日 17:06:49 | Jim Fasarakis-Hilliard | set | recipients:
+ Jim Fasarakis-Hilliard, terry.reedy, ncoghlan, vstinner, ezio.melotti, eric.araujo, Julian, petri.lehtinen, serhiy.storchaka, Sean.Ochoa, eamanu |
| 2017年03月28日 17:06:49 | Jim Fasarakis-Hilliard | set | messageid: <1490720809.47.0.990785865482.issue13349@psf.upfronthosting.co.za> |
| 2017年03月28日 17:06:49 | Jim Fasarakis-Hilliard | link | issue13349 messages |
| 2017年03月28日 17:06:49 | Jim Fasarakis-Hilliard | create |
|