Message236257
| Author |
serhiy.storchaka |
| Recipients |
BreamoreBoy, ezio.melotti, mrabarnett, pitrou, rhettinger, serhiy.storchaka, steven.daprano, terry.reedy |
| Date |
2015年02月20日.08:59:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<4704288.PGacdt14zg@raxxla> |
| In-reply-to |
<1424301887.07.0.23759054994.issue22364@psf.upfronthosting.co.za> |
| Content |
> Messages tend to be abbreviated, so I think that it would be better to just
> omit the article.
I agree, but this is came from standard error messages which are not
consistent. I opened a thread on Python-Dev.
"expected a bytes-like object" and "expected str instance" are standard error
messages raised in bytes.join and str.join, not in re. We could change them
though.
> I don't think that the error message "bad repeat interval" is an improvement
> (Why is it "bad"? What is an "interval"?). I think that saying that the min
> is greater than the max is clearer.
Agree. I'll change this in re. What message is better in case of overflow: "the
repetition number is too large" (in re) or "repeat count too big" (in regex)? |
|