mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (GH-24341) (GH-24410)
* bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string
(cherry picked from commit 49926cf2bc)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
			
			
This commit is contained in:
		
							parent
							
								
									3c8d693443
								
							
						
					
					
						commit
						d6675fee1a
					
				
					 6 changed files with 21 additions and 6 deletions
				
			
		|  | @ -54,8 +54,8 @@ def spawn(cmd, search_path=1, verbose=0, dry_run=0): | |||
|         global _cfg_target, _cfg_target_split | ||||
|         if _cfg_target is None: | ||||
|             from distutils import sysconfig | ||||
|             _cfg_target = str(sysconfig.get_config_var( | ||||
|                                   'MACOSX_DEPLOYMENT_TARGET') or '') | ||||
|             _cfg_target = sysconfig.get_config_var( | ||||
|                                   'MACOSX_DEPLOYMENT_TARGET') or '' | ||||
|             if _cfg_target: | ||||
|                 _cfg_target_split = [int(x) for x in _cfg_target.split('.')] | ||||
|         if _cfg_target: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)