Message170864
| Author |
serhiy.storchaka |
| Recipients |
christian.heimes, jftuga, larry, serhiy.storchaka, vstinner |
| Date |
2012年09月21日.07:07:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<201209211007.28201.storchaka@gmail.com> |
| In-reply-to |
<1348177415.05.0.535891661599.issue15972@psf.upfronthosting.co.za> |
| Content |
> But please add regression tests checking
> that the error message is what we want.
Immediately as soon as I find a suitable place for this test. Should be
somewhere tests for bytes/unicode filenames.
> I'd personally prefer the Oxford Comma there ("string, bytes, or integer").
> But I don't know if there is a style preference one way or the other in
> Python error messages.
"Invalid whence (%i, should be 0, 1 or 2)"
"expect bytes or str of length 1, or int, "
"argument should be bytes, buffer or ASCII string, "
"coercing to str: need bytes, bytearray or buffer-like object, %.80s found"
"character mapping must return integer, bytes or None, not %.400s" |
|