mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	make sure split() is called before the encoding
This commit is contained in:
		
							parent
							
								
									3b1a22a6df
								
							
						
					
					
						commit
						311a2d1bc9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -356,7 +356,7 @@ def initialize(self, plat_name=None): | ||||||
|             vc_env = query_vcvarsall(VERSION, plat_spec) |             vc_env = query_vcvarsall(VERSION, plat_spec) | ||||||
| 
 | 
 | ||||||
|             # take care to only use strings in the environment. |             # take care to only use strings in the environment. | ||||||
|             self.__paths = vc_env['path'].encode('mbcs').split(os.pathsep) |             self.__paths = vc_env['path'].split(os.pathsep).encode('mbcs') | ||||||
|             os.environ['lib'] = vc_env['lib'].encode('mbcs') |             os.environ['lib'] = vc_env['lib'].encode('mbcs') | ||||||
|             os.environ['include'] = vc_env['include'].encode('mbcs') |             os.environ['include'] = vc_env['include'].encode('mbcs') | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tarek Ziade
						Tarek Ziade