import sys import subprocess def __optim_args_from_interpreter_flags(): """Return a list of command-line arguments reproducing the current optimization settings in sys.flags.""" args = [] value = sys.flags.optimize if value > 0: args.append("-" + "O" * value) return args _optim_args_from_interpreter_flags = getattr( subprocess, "_optim_args_from_interpreter_flags", __optim_args_from_interpreter_flags, )
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
command | Folder | 0755 |
|
|
__init__.py | File | 250 B | 0644 |
|
_msvccompiler.py | File | 20.33 KB | 0644 |
|
archive_util.py | File | 8.37 KB | 0644 |
|
bcppcompiler.py | File | 14.54 KB | 0644 |
|
ccompiler.py | File | 46.49 KB | 0644 |
|
cmd.py | File | 17.66 KB | 0644 |
|
config.py | File | 4.71 KB | 0644 |
|
core.py | File | 8.67 KB | 0644 |
|
cygwinccompiler.py | File | 16.54 KB | 0644 |
|
debug.py | File | 139 B | 0644 |
|
dep_util.py | File | 3.41 KB | 0644 |
|
dir_util.py | File | 7.6 KB | 0644 |
|
dist.py | File | 49.24 KB | 0644 |
|
errors.py | File | 3.49 KB | 0644 |
|
extension.py | File | 10.27 KB | 0644 |
|
fancy_getopt.py | File | 17.37 KB | 0644 |
|
file_util.py | File | 7.96 KB | 0644 |
|
filelist.py | File | 13.09 KB | 0644 |
|
log.py | File | 1.92 KB | 0644 |
|
msvc9compiler.py | File | 29.74 KB | 0644 |
|
msvccompiler.py | File | 22.99 KB | 0644 |
|
py35compat.py | File | 455 B | 0644 |
|
py38compat.py | File | 212 B | 0644 |
|
spawn.py | File | 3.42 KB | 0644 |
|
sysconfig.py | File | 21.12 KB | 0644 |
|
text_file.py | File | 12.19 KB | 0644 |
|
unixccompiler.py | File | 14.2 KB | 0644 |
|
util.py | File | 19.9 KB | 0644 |
|
version.py | File | 12.22 KB | 0644 |
|
versionpredicate.py | File | 5.01 KB | 0644 |
|