mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Under NT, interface to mysterious module registry. (Mark H.)
This commit is contained in:
		
							parent
							
								
									e71a947f8e
								
							
						
					
					
						commit
						a5a3db70d4
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -413,6 +413,14 @@ find_module(name, path, buf, buflen, p_fp) | |||
| 	struct filedescr *fdp; | ||||
| 	FILE *fp = NULL; | ||||
| 
 | ||||
| #ifdef NT | ||||
| 	if ((fp=PyWin_FindRegisteredModule(name, &fdp, buf, buflen))!=NULL) { | ||||
| 		*p_fp = fp; | ||||
| 		return fdp; | ||||
| 	} | ||||
| #endif | ||||
| 
 | ||||
| 
 | ||||
| 	if (path == NULL) | ||||
| 		path = sysget("path"); | ||||
| 	if (path == NULL || !is_listobject(path)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum