mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-126925: Make PyConfig.use_system_logger read-only (#129124)
The variable is only used once during early Python initialization, it doesn't make sense to modify it at runtime.
This commit is contained in:
		
							parent
							
								
									80189ff647
								
							
						
					
					
						commit
						01de4af3e1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -169,7 +169,7 @@ static const PyConfigSpec PYCONFIG_SPEC[] = { | |||
|     SPEC(use_frozen_modules, BOOL, READ_ONLY, NO_SYS), | ||||
|     SPEC(use_hash_seed, BOOL, READ_ONLY, NO_SYS), | ||||
| #ifdef __APPLE__ | ||||
|     SPEC(use_system_logger, BOOL, PUBLIC, NO_SYS), | ||||
|     SPEC(use_system_logger, BOOL, READ_ONLY, NO_SYS), | ||||
| #endif | ||||
|     SPEC(user_site_directory, BOOL, READ_ONLY, NO_SYS),  // sys.flags.no_user_site
 | ||||
|     SPEC(warn_default_encoding, BOOL, READ_ONLY, NO_SYS), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner