mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Remove the temporary byte-compilation script when we're done with it.
This commit is contained in:
		
							parent
							
								
									c1acc69018
								
							
						
					
					
						commit
						04cc88df05
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -369,6 +369,7 @@ def byte_compile (py_files, | ||||||
|         elif optimize == 2: |         elif optimize == 2: | ||||||
|             cmd.insert(1, "-OO") |             cmd.insert(1, "-OO") | ||||||
|         spawn(cmd, verbose=verbose, dry_run=dry_run) |         spawn(cmd, verbose=verbose, dry_run=dry_run) | ||||||
|  |         os.remove(script_name) | ||||||
|          |          | ||||||
|     # "Direct" byte-compilation: use the py_compile module to compile |     # "Direct" byte-compilation: use the py_compile module to compile | ||||||
|     # right here, right now.  Note that the script generated in indirect |     # right here, right now.  Note that the script generated in indirect | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Greg Ward
						Greg Ward