Staging
v0.5.1
https://github.com/python/cpython
Revision a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 authored by pxinwr on 28 November 2020, 22:04:50 UTC, committed by GitHub on 28 November 2020, 22:04:50 UTC


VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
1 parent 996a1ef
Raw File
Tip revision: a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 authored by pxinwr on 28 November 2020, 22:04:50 UTC
bpo-31904: add shell requirement for test_pipes (GH-23489)
Tip revision: a86a274
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