summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-07-14 23:32:18 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-14 23:32:18 (GMT)
commitcd6e83b4810549c308ab2d7315dbab526e35ccf6 (patch)
tree978814533cacd17ee669ef32504e502acd4f7a20 /Lib/importlib
parent8b7db5a1114e2113a756bdf8877fbe366055c69a (diff)
downloadcpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.zip
cpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.tar.gz
cpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.tar.bz2
bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778)
https://bugs.python.org/issue37593
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap_external.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index 64185771..1bafc24 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -268,6 +268,8 @@ _code_type = type(_write_atomic.__code__)
# Python 3.8a1 3410 (PEP570 Python Positional-Only Parameters #36540)
# Python 3.8b2 3411 (Reverse evaluation order of key: value in dict
# comprehensions #35224)
+# Python 3.8b2 3412 (Swap the position of positional args and positional
+# only args in ast.arguments #37593)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
@@ -276,7 +278,7 @@ _code_type = type(_write_atomic.__code__)
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
# in PC/launcher.c must also be updated.
-MAGIC_NUMBER = (3411).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3412).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'