mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
Building o//third_party/python now takes 5 seconds on my PC This change works towards modifying Python to use runtime dispatching when appropriate. For example, when loading the magnums in the socket module, it's a good idea to check if the magnum is zero, because that means the local system platform doesn't support it.
8 lines
261 B
C
8 lines
261 B
C
#include "third_party/python/Include/Python.h"
|
|
#include "third_party/python/Include/importdl.h"
|
|
/* clang-format off */
|
|
|
|
/* This module provides the necessary stubs for when dynamic loading is
|
|
not present. */
|
|
|
|
const char *_PyImport_DynLoadFiletab[] = {NULL};
|