comparison Python/import.c @ 43107:a89d469e1ff7

Update import.c's MAGIC value for the new raise syntax (as opposed to merely updating the comment).
author Collin Winter <collinw@gmail.com>
date Fri, 31 Aug 2007 00:42:15 +0000
parents 981ecc526703
children 38f3f9ef193d
comparison
equal deleted inserted replaced
43106:eed15ec6b759 43107:a89d469e1ff7
75 3050 (print becomes a function) 75 3050 (print becomes a function)
76 3060 (PEP 3115 metaclass syntax) 76 3060 (PEP 3115 metaclass syntax)
77 3070 (PEP 3109 raise changes) 77 3070 (PEP 3109 raise changes)
78 . 78 .
79 */ 79 */
80 #define MAGIC (3060 | ((long)'\r'<<16) | ((long)'\n'<<24)) 80 #define MAGIC (3070 | ((long)'\r'<<16) | ((long)'\n'<<24))
81 81
82 /* Magic word as global; note that _PyImport_Init() can change the 82 /* Magic word as global; note that _PyImport_Init() can change the
83 value of this global to accommodate for alterations of how the 83 value of this global to accommodate for alterations of how the
84 compiler works which are enabled by command line switches. */ 84 compiler works which are enabled by command line switches. */
85 static long pyc_magic = MAGIC; 85 static long pyc_magic = MAGIC;