mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01: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.
11 lines
267 B
C
11 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");
|
|
}
|