]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Added 'byte_compile(): an all-singing, all-dancing wrapper around the
authorGreg Ward <gward@python.net>
Sat, 30 Sep 2000 20:37:56 +0000 (20:37 +0000)
committerGreg Ward <gward@python.net>
Sat, 30 Sep 2000 20:37:56 +0000 (20:37 +0000)
commit1297b5ce67642dba35615121825fb1621e28e6b8
tree824ce022fc27bdd679732b2bc3dbdbfcafcfc6c4
parent4752769d08c3ef950d31b926751d5e4d1dae294f
Added 'byte_compile(): an all-singing, all-dancing wrapper around the
standard 'py_compile.compile()' function.  Laundry list of features:
  - handles standard Distutils 'force', 'verbose', 'dry_run' flags
  - handles various levels of optimization: can compile directly in
    this interpreter process, or write a temporary script that is
    then executed by a new interpreter with the appropriate flags
  - can rewrite the source filename by stripping an optional prefix
    and preprending an optional base dir.
Lib/distutils/util.py