mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 e218e5022e
			
		
	
	
		e218e5022e
		
			
		
	
	
	
	
		
			
			This feature is off by default via code but on by default via the CLI. The `.gitignore` file contains `*` which causes the entire directory to be ignored. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			141 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			141 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import sys
 | |
| from . import main
 | |
| 
 | |
| rc = 1
 | |
| try:
 | |
|     main()
 | |
|     rc = 0
 | |
| except Exception as e:
 | |
|     print('Error:', e, file=sys.stderr)
 | |
| sys.exit(rc)
 |