mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
![Steve Dower](/assets/img/avatar_default.png)
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");
|
|
}
|