mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	 9b6fec4651
			
		
	
	
		9b6fec4651
		
			
		
	
	
	
	
		
			
			* bpo-39336: Allow setattr to fail on modules which aren't assignable When attaching a child module to a package if the object in sys.modules raises an AttributeError (e.g. because it is immutable) it causes the whole import to fail. This now allows immutable packages to exist and an ImportWarning is reported and the AttributeError exception is ignored.
		
			
				
	
	
		
			0 lines
		
	
	
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			0 lines
		
	
	
	
	
	
		
			Python