Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 14163:1b9fd0cbd914 legacy-trunk
Support for three-token characters (**=, >>=, <<=) which was written by
Michael Hudson, and support in general for the augmented assignment syntax.
The graminit.c patch is large!
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Thu, 24 Aug 2000 20:11:32 +0000 |
| parents | f657dc8ff25e |
| children | 1f1a156ed5af |
line wrap: on
line diff
--- a/Python/import.c Thu Aug 24 20:09:45 2000 +0000 +++ b/Python/import.c Thu Aug 24 20:11:32 2000 +0000 @@ -66,7 +66,7 @@ /* XXX Perhaps the magic number should be frozen and a version field added to the .pyc file header? */ /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */ -#define MAGIC (50821 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (50822 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* Magic word as global; note that _PyImport_Init() can change the value of this global to accommodate for alterations of how the
