Staging
v0.5.1
https://github.com/python/cpython
Revision 2a9a883d361d37b40fb0b0011dd300bb83ceb73c authored by Miss Islington (bot) on 07 December 2020, 03:48:48 UTC, committed by GitHub on 07 December 2020, 03:48:48 UTC
Remove obsolete workaround that prevented running files with
shortcuts when using new universal2 installers built on macOS 11.
Ignore buggy 2nd run_module_event call.
(cherry picked from commit 57e511361047895231f5ee7abfdfbbc60e11d2db)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent 8502d46
Raw File
Tip revision: 2a9a883d361d37b40fb0b0011dd300bb83ceb73c authored by Miss Islington (bot) on 07 December 2020, 03:48:48 UTC
bpo-42508: Keep IDLE running on macOS (GH-23577) (GH-23669)
Tip revision: 2a9a883
getcompiler.c

/* Return the compiler identification, if possible. */

#include "Python.h"

#ifndef COMPILER

// Note the __clang__ conditional has to come before the __GNUC__ one because
// clang pretends to be GCC.
#if defined(__clang__)
#define COMPILER "\n[Clang " __clang_version__ "]"
#elif defined(__GNUC__)
#define COMPILER "\n[GCC " __VERSION__ "]"
// Generic fallbacks.
#elif defined(__cplusplus)
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif

#endif /* !COMPILER */

const char *
Py_GetCompiler(void)
{
    return COMPILER;
}
back to top