Kaydet (Commit) d11f7fcc authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Uninitialized file type would lead to __exit__ lookup failure when site.py

tries to read *.pth files on interpreter startup.
üst eb88cb8c
......@@ -2156,6 +2156,9 @@ _Py_ReadyTypes(void)
if (PyType_Ready(&PyMemberDescr_Type) < 0)
Py_FatalError("Can't initialize member descriptor type");
if (PyType_Ready(&PyFile_Type) < 0)
Py_FatalError("Can't initialize file type");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment