mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +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 @@ byte_compile(files, optimize=%s, force=%s,
|
|||
elif optimize == 2:
|
||||
cmd.insert(1, "-OO")
|
||||
spawn(cmd, verbose=verbose, dry_run=dry_run)
|
||||
os.remove(script_name)
|
||||
|
||||
# "Direct" byte-compilation: use the py_compile module to compile
|
||||
# right here, right now. Note that the script generated in indirect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue