Replace IOError with OSError (#16715)
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 20b7acb..b940417 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -2066,7 +2066,6 @@
*arena)
{
expr_ty p;
- assert(PyUnicode_CompareWithASCIIString(id, "True") && PyUnicode_CompareWithASCIIString(id, "False") && PyUnicode_CompareWithASCIIString(id, "None"));
if (!id) {
PyErr_SetString(PyExc_ValueError,
"field id is required for Name");
diff --git a/Python/importlib.h b/Python/importlib.h
index 269d498..0d57050 100644
--- a/Python/importlib.h
+++ b/Python/importlib.h
@@ -2131,7 +2131,7 @@
117,8,0,0,0,116,111,107,101,110,105,122,101,117,12,0,
0,0,103,101,116,95,102,105,108,101,110,97,109,101,117,8,
0,0,0,103,101,116,95,100,97,116,97,117,7,0,0,0,
- 73,79,69,114,114,111,114,117,11,0,0,0,73,109,112,111,
+ 79,83,69,114,114,111,114,117,11,0,0,0,73,109,112,111,
114,116,69,114,114,111,114,117,3,0,0,0,95,105,111,117,
7,0,0,0,66,121,116,101,115,73,79,117,8,0,0,0,
114,101,97,100,108,105,110,101,117,15,0,0,0,100,101,116,
@@ -2244,7 +2244,7 @@
111,116,73,109,112,108,101,109,101,110,116,101,100,69,114,114,
111,114,117,10,0,0,0,112,97,116,104,95,115,116,97,116,
115,117,3,0,0,0,105,110,116,117,8,0,0,0,103,101,
- 116,95,100,97,116,97,117,7,0,0,0,73,79,69,114,114,
+ 116,95,100,97,116,97,117,7,0,0,0,79,83,69,114,114,
111,114,117,20,0,0,0,95,98,121,116,101,115,95,102,114,
111,109,95,98,121,116,101,99,111,100,101,117,11,0,0,0,
73,109,112,111,114,116,69,114,114,111,114,117,8,0,0,0,