mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Oops. One of last nights ANSIfication patches accidentily upped the bytecode
MAGIC number. When updating it next time, be sure it's higher than 50715 * constants. (Shouldn't be a problem if everyone keeps to the proper algorithm.)
This commit is contained in:
		
							parent
							
								
									53e7fd77a7
								
							
						
					
					
						commit
						2f2370bfc9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -66,7 +66,7 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *); | ||||||
| /* XXX Perhaps the magic number should be frozen and a version field
 | /* XXX Perhaps the magic number should be frozen and a version field
 | ||||||
|    added to the .pyc file header? */ |    added to the .pyc file header? */ | ||||||
| /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */ | /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */ | ||||||
| #define MAGIC (50715 | ((long)'\r'<<16) | ((long)'\n'<<24)) | #define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24)) | ||||||
| 
 | 
 | ||||||
| /* Magic word as global; note that _PyImport_Init() can change the
 | /* Magic word as global; note that _PyImport_Init() can change the
 | ||||||
|    value of this global to accommodate for alterations of how the |    value of this global to accommodate for alterations of how the | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thomas Wouters
						Thomas Wouters