diff options
author | Éric Araujo <merwok@netwok.org> | 2011-11-14 18:10:19 +0100 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-11-14 18:10:19 +0100 |
commit | f8361623f0e5ab6c6337afcccdb442f285590869 (patch) | |
tree | 91b0d49055dc1046f4b570cc034473feab770205 /Python/modsupport.c | |
parent | d5d4406c8ebbbdf8a8961fc119be22b15a1c40ad (diff) | |
download | cpython-git-f8361623f0e5ab6c6337afcccdb442f285590869.tar.gz |
Clean up byte-compilation code in packaging (#11254 followup).
- Don't use keyword arguments for debug_override; I find it more
readable to have a comment explaining that True makes pyc and False
pyo than to write out the non-obvious (when you haven’t read the doc)
argument name
- Move duplicate code from build_py and install_lib into cmd
- Remove obsolete verbose argument of util.byte_compile
- Remove obsolete passing of -O/-OO to the Python process spawned by
util.byte_compile (I’ll remove the whole spawning later, after I write
more tests to check the contents of pyc and pyo files; now that
byte_compile does not depend on the value of __debug__ in the calling
Python, we can call py_compile or compileall directly)
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions