8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ccdfb commit 28a30bcCopy full SHA for 28a30bc
Misc/NEWS.d/next/C API/2021-02-21-15-30-38.bpo-43278.DMPaWH.rst
@@ -0,0 +1 @@
1
+Always put compiler and system information on the first line of the REPL welcome message.
Python/getcompiler.c
@@ -8,9 +8,9 @@
8
// Note the __clang__ conditional has to come before the __GNUC__ one because
9
// clang pretends to be GCC.
10
#if defined(__clang__)
11
-#define COMPILER "\n[Clang " __clang_version__ "]"
+#define COMPILER "[Clang " __clang_version__ "]"
12
#elif defined(__GNUC__)
13
-#define COMPILER "\n[GCC " __VERSION__ "]"
+#define COMPILER "[GCC " __VERSION__ "]"
14
// Generic fallbacks.
15
#elif defined(__cplusplus)
16
#define COMPILER "[C++]"
0 commit comments