mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
* filemodule.c: added writelines() -- analogous to readlines()
* import.c: fixed core dump when out-of-date .pyc file encountered (again!)
This commit is contained in:
parent
52c1f51554
commit
5a2a683e72
2 changed files with 44 additions and 1 deletions
|
@ -250,9 +250,10 @@ get_module(m, name, m_ret)
|
|||
fprintf(stderr,
|
||||
"# invalid precompiled file \"%s\"\n",
|
||||
namebuf);
|
||||
goto read_py;
|
||||
}
|
||||
}
|
||||
if (co == NULL)
|
||||
goto read_py;
|
||||
}
|
||||
else {
|
||||
read_py:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue