Issue 29904: Fix a number of error message typos (original) (raw)

Issue29904

Created on 2017-03-25 17:35 by Jim Fasarakis-Hilliard, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 818 merged Jim Fasarakis-Hilliard,2017-03-25 20:37
Messages (3)
msg290491 - (view) Author: Jim Fasarakis-Hilliard (Jim Fasarakis-Hilliard) * Date: 2017-03-25 17:35
Specifically, the list I've currently found in .py files: - _pyio.py: ValueError("flush of closed file") ValueError("flush of closed file") "of" -> "on" for both. - configparser.py: ValueError("Required argument `source' not given.") ValueError("Cannot specify both `filename' and `source'. " fix ` on the quotes on argument names. - windows_utils.py ValueError("I/O operatioon on closed pipe") "operatioon" -> "operation" - proactor_events.py, asynchat.py: TypeError('data argument must be byte-ish (%r)', raise TypeError('data argument must be byte-ish (%r)', AFAIK, "byte-ish" isn't used elsewhere, the author probably mean to go for "bytes-like object". - _header_value_parser.py: errors.HeaderParseError("expected atom at a start of " "at a start of " -> "at the start of " - http/cookiejar.py: raise ValueError("filename must be string-like") I think "must be a str" was intended.
msg290493 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-03-25 17:44
Do you want to create a pull request?
msg290494 - (view) Author: Jim Fasarakis-Hilliard (Jim Fasarakis-Hilliard) * Date: 2017-03-25 17:47
Sure, Serhiy, I'll make a PR in a bit.
History
Date User Action Args
2022-04-11 14:58:44 admin set github: 74090
2017-03-28 15:01:27 Jim Fasarakis-Hilliard set status: open -> closedresolution: fixedstage: resolved
2017-03-25 20:37:36 Jim Fasarakis-Hilliard set pull_requests: + <pull%5Frequest724>
2017-03-25 17:47:49 Jim Fasarakis-Hilliard set messages: +
2017-03-25 17:44:48 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2017-03-25 17:35:41 Jim Fasarakis-Hilliard create