diff options
author | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:52:07 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:52:07 (GMT) |
commit | 4034685a58de66073a4e190dd8c9a2ef4dca67b5 (patch) | |
tree | 1a1deea97208de647629d0fbc67396ea8e155036 /Python/Python-ast.c | |
parent | f0476e816950928246ee11d873fb13a86c691fb6 (diff) | |
download | cpython-4034685a58de66073a4e190dd8c9a2ef4dca67b5.zip cpython-4034685a58de66073a4e190dd8c9a2ef4dca67b5.tar.gz cpython-4034685a58de66073a4e190dd8c9a2ef4dca67b5.tar.bz2 |
Issue #2051 and patch from Alexander Belopolsky:
Permission for pyc and pyo files are inherited from the py file.
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 8d51a0d..b05f240 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -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) |