mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fix test_scriptpackage with pure will power.
I really don't know why I bother; these are all generated files. But I don't recall how to regenerate them nor how to fix the generator. The hardest part was fixing two mutual recursive imports; somehow changing "import foo" into "from . import foo" where foo and bar import each other AND both are imported from __init__.py caused things to break. Bah.
This commit is contained in:
		
							parent
							
								
									c350d1a110
								
							
						
					
					
						commit
						6da48561cb
					
				
					 21 changed files with 139 additions and 128 deletions
				
			
		| 
						 | 
				
			
			@ -5,6 +5,11 @@
 | 
			
		|||
AETE/AEUT resource version 1/0, language 0, script 0
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
# Crutch for recursive import
 | 
			
		||||
import sys
 | 
			
		||||
import SystemEvents
 | 
			
		||||
SystemEvents.Disk_Folder_File_Suite = sys.modules[__name__]
 | 
			
		||||
 | 
			
		||||
import aetools
 | 
			
		||||
import MacOS
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -210,10 +215,10 @@ class _Prop_version(aetools.NProperty):
 | 
			
		|||
 | 
			
		||||
files = file
 | 
			
		||||
application._superclassnames = []
 | 
			
		||||
import Standard_Suite
 | 
			
		||||
import Folder_Actions_Suite
 | 
			
		||||
import Login_Items_Suite
 | 
			
		||||
import Processes_Suite
 | 
			
		||||
from . import Standard_Suite
 | 
			
		||||
from . import Folder_Actions_Suite
 | 
			
		||||
from . import Login_Items_Suite
 | 
			
		||||
from . import Processes_Suite
 | 
			
		||||
application._privpropdict = {
 | 
			
		||||
    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
 | 
			
		||||
    'folder_actions_enabled' : _Prop_folder_actions_enabled,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue