Issue #2051 and patch from Alexander Belopolsky:

Permission for pyc and pyo files are inherited from the py file.
This commit is contained in:
Christian Heimes 2008-02-23 17:52:07 +00:00
parent f0476e8169
commit 4034685a58
3 changed files with 19 additions and 15 deletions

View file

@ -2,7 +2,7 @@
/*
__version__ 53731.
__version__ 60978.
This module must be committed separately after each AST grammar change;
The __version__ number is set to the revision number of the commit
@ -2958,7 +2958,7 @@ init_ast(void)
if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
return;
if (PyModule_AddStringConstant(m, "__version__", "53731") < 0)
if (PyModule_AddStringConstant(m, "__version__", "60978") < 0)
return;
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)