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
				
			
		
							
								
								
									
										2
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -1013,7 +1013,7 @@ def detect_readline_curses(self): | |||
|             os_release = int(os.uname()[2].split('.')[0]) | ||||
|             dep_target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') | ||||
|             if (dep_target and | ||||
|                     (tuple(int(n) for n in str(dep_target).split('.')[0:2]) | ||||
|                     (tuple(int(n) for n in dep_target.split('.')[0:2]) | ||||
|                         < (10, 5) ) ): | ||||
|                 os_release = 8 | ||||
|             if os_release < 9: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)