mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +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.
		
			
				
	
	
		
			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");
 | |
| }
 |