diff options
author | Michael Droettboom <mdboom@gmail.com> | 2024-07-30 19:31:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 19:31:05 (GMT) |
commit | af0a00f022d0fb8f1edb4abdda1bc6b915f0448d (patch) | |
tree | b31a38a60fccae419c4ed3b38a18795bb9bed0a0 /InternalDocs | |
parent | 2b163aa9e796b312bb0549d49145d26e4904768e (diff) | |
download | cpython-af0a00f022d0fb8f1edb4abdda1bc6b915f0448d.zip cpython-af0a00f022d0fb8f1edb4abdda1bc6b915f0448d.tar.gz cpython-af0a00f022d0fb8f1edb4abdda1bc6b915f0448d.tar.bz2 |
gh-122188: Move magic number to its own file (#122243)
* gh-122188: Move magic number to its own file
* Add versionadded directive
* Do work in C
* Integrate launcher.c
* Make _pyc_magic_number private
* Remove metadata
* Move sys.implementation -> _imp
* Modernize comment
* Move _RAW_MAGIC_NUMBER to the C side as well
* _pyc_magic_number -> pyc_magic_number
* Remove unused import
* Update docs
* Apply suggestions from code review
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* Fix typo in tests
---------
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'InternalDocs')
-rw-r--r-- | InternalDocs/compiler.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md index b3dc0a4..52a3ab2 100644 --- a/InternalDocs/compiler.md +++ b/InternalDocs/compiler.md @@ -616,7 +616,7 @@ Important files * [Lib/opcode.py](https://github.com/python/cpython/blob/main/Lib/opcode.py) : opcode utilities exposed to Python. - * [Lib/importlib/_bootstrap_external.py](https://github.com/python/cpython/blob/main/Lib/importlib/_bootstrap_external.py) + * [Include/core/pycore_magic_number.h](https://github.com/python/cpython/blob/main/Include/internal/pycore_magic_number.h) : Home of the magic number (named ``MAGIC_NUMBER``) for bytecode versioning. |