mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix incorrect comment regarding MAGIC and TAG in import.c
This commit is contained in:
parent
b55e498f56
commit
cd419abe42
1 changed files with 5 additions and 2 deletions
|
@ -108,8 +108,11 @@ typedef unsigned short mode_t;
|
||||||
Python 3.2a2 3180 (add DELETE_DEREF)
|
Python 3.2a2 3180 (add DELETE_DEREF)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* If you change MAGIC, you must change TAG and you must insert the old value
|
/* MAGIC must change whenever the bytecode emitted by the compiler may no
|
||||||
into _PyMagicNumberTags below.
|
longer be understood by older implementations of the eval loop (usually
|
||||||
|
due to the addition of new opcodes)
|
||||||
|
TAG must change for each major Python release. The magic number will take
|
||||||
|
care of any bytecode changes that occur during development.
|
||||||
*/
|
*/
|
||||||
#define MAGIC (3180 | ((long)'\r'<<16) | ((long)'\n'<<24))
|
#define MAGIC (3180 | ((long)'\r'<<16) | ((long)'\n'<<24))
|
||||||
#define TAG "cpython-32"
|
#define TAG "cpython-32"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue