fix display of the 'host not found' message

The conversion of characters like _space_ in qstrs is a bit
ad-hoc. Because "_not_" stands for the logical negation character ¬
the recently added message was displayed incorrectly:
```
>>> socket.getaddrinfo('does.not.exist', 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
gaierror: (-2, 'Name or service_space¬space_known')
```
I had noticed this, but evidently failed to include the fix in
the problem in #7269.
This commit is contained in:
Jeff Epler 2022-12-01 19:41:28 -06:00
parent 082b0d1aed
commit 7ceca0cbb2
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ name2codepoint["tilde"] = ord("~")
# These are just vexing!
del name2codepoint["and"]
del name2codepoint["or"]
del name2codepoint["not"]
def preprocess():