mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	 99fcf15052
			
		
	
	
		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.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			606 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			606 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef Py_INTERNAL_PATHCONFIG_H
 | |
| #define Py_INTERNAL_PATHCONFIG_H
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| #ifndef Py_BUILD_CORE
 | |
| #  error "this header requires Py_BUILD_CORE define"
 | |
| #endif
 | |
| 
 | |
| PyAPI_FUNC(void) _PyPathConfig_ClearGlobal(void);
 | |
| extern PyStatus _PyPathConfig_ReadGlobal(PyConfig *config);
 | |
| extern PyStatus _PyPathConfig_UpdateGlobal(const PyConfig *config);
 | |
| extern const wchar_t * _PyPathConfig_GetGlobalModuleSearchPath(void);
 | |
| 
 | |
| extern int _PyPathConfig_ComputeSysPath0(
 | |
|     const PyWideStringList *argv,
 | |
|     PyObject **path0);
 | |
| 
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| #endif /* !Py_INTERNAL_PATHCONFIG_H */
 |