]> granicus.if.org Git - python/commit
Finished the overhaul of byte-compilation options: there's now a 6-way
authorGreg Ward <gward@python.net>
Mon, 2 Oct 2000 02:15:08 +0000 (02:15 +0000)
committerGreg Ward <gward@python.net>
Mon, 2 Oct 2000 02:15:08 +0000 (02:15 +0000)
commitcb9c9aed01abc99cad2fbadd0b407d226bbbb2ba
treefbd48b443553d50a93878964fcb48b73a3e22b60
parent04cc88df05d85d0c8908d912b37c86108e55eccd
Finished the overhaul of byte-compilation options: there's now a 6-way
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2).  Details:
  - added --no-compile option to complement --compile, which has
    been there for ages
  - changed --optimize (which never worked) to a value option, which
    expects 0, 1, or 2
  - renamed 'bytecompile()' method to 'byte_compile()', and beefed
    it up to handle both 'compile' and 'optimize' options
  - fix '_bytecode_filenames()' to respect the new options
Lib/distutils/command/install_lib.py