diff Python/Python-ast.c @ 45470:3915d5f650fa legacy-trunk

Issue #2051 and patch from Alexander Belopolsky: Permission for pyc and pyo files are inherited from the py file.
author Christian Heimes <christian@cheimes.de>
date Sat, 23 Feb 2008 17:52:07 +0000
parents 393822f2ef90
children ca38f7a4b4c9
line wrap: on
line diff
--- a/Python/Python-ast.c	Sat Feb 23 17:42:31 2008 +0000
+++ b/Python/Python-ast.c	Sat Feb 23 17:52:07 2008 +0000
@@ -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 @@
         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)