Staging
v0.5.1
https://github.com/python/cpython
Revision 00a6568ba37f0d815289776a51af46d0eac27384 authored by pxinwr on 28 November 2020, 22:14:16 UTC, committed by GitHub on 28 November 2020, 22:14:16 UTC


Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.
1 parent 6a273fd
Raw File
Tip revision: 00a6568ba37f0d815289776a51af46d0eac27384 authored by pxinwr on 28 November 2020, 22:14:16 UTC
bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394)
Tip revision: 00a6568
getversion.c

/* Return the full version string. */

#include "Python.h"

#include "patchlevel.h"

const char *
Py_GetVersion(void)
{
    static char version[250];
    PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
                  PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
    return version;
}
back to top