[issue29904] Fix a number of error message typos

2017-03-28 Thread Jim Fasarakis-Hilliard

Changes by Jim Fasarakis-Hilliard :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29904] Fix a number of error message typos

2017-03-25 Thread Jim Fasarakis-Hilliard

Changes by Jim Fasarakis-Hilliard :


--
pull_requests: +724

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29904] Fix a number of error message typos

2017-03-25 Thread Jim Fasarakis-Hilliard

Jim Fasarakis-Hilliard added the comment:

Sure, Serhiy, I'll make a PR in a bit.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29904] Fix a number of error message typos

2017-03-25 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Do you want to create a pull request?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29904] Fix a number of error message typos

2017-03-25 Thread Jim Fasarakis-Hilliard

New submission from Jim Fasarakis-Hilliard:

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.

--
messages: 290491
nosy: Jim Fasarakis-Hilliard
priority: normal
severity: normal
status: open
title: Fix a number of error message typos
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com