mirror of
https://github.com/python/cpython
synced 2024-11-02 12:55:22 +00:00
99fcf15052
The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms.
10 lines
267 B
C
10 lines
267 B
C
/* Implements the getpath API for compiling with no functionality */
|
|
|
|
#include "Python.h"
|
|
#include "pycore_pathconfig.h"
|
|
|
|
PyStatus
|
|
_PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
|
|
{
|
|
return PyStatus_Error("path configuration is unsupported");
|
|
}
|