Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45ab2b6

Browse files
committed
Thomas reminds me to bump the MAGIC number for the extended print
opcode additions.
1 parent efc92ee commit 45ab2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *);
6666
/* XXX Perhaps the magic number should be frozen and a version field
6767
added to the .pyc file header? */
6868
/* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
69-
#define MAGIC (50815 | ((long)'\r'<<16) | ((long)'\n'<<24))
69+
#define MAGIC (50821 | ((long)'\r'<<16) | ((long)'\n'<<24))
7070

7171
/* Magic word as global; note that _PyImport_Init() can change the
7272
value of this global to accommodate for alterations of how the

0 commit comments

Comments
 (0)