Message170864
> 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" |
|
Date |
User |
Action |
Args |
2012-09-21 07:07:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, larry, christian.heimes, jftuga |
2012-09-21 07:07:41 | serhiy.storchaka | link | issue15972 messages |
2012-09-21 07:07:41 | serhiy.storchaka | create | |
|