]> granicus.if.org Git - python/commit
Extend compiler() method with optional depends argument.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Jun 2002 17:26:30 +0000 (17:26 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Jun 2002 17:26:30 +0000 (17:26 +0000)
commit59b103cf8776b9086bd9591f819e5f58f1b2c9da
tree8dded46f1ab3dc0db0561d735342d43d2854f0dd
parent65ce6de35cdb973852fcd17323f7246ecabdbde4
Extend compiler() method with optional depends argument.

This change is not backwards compatible.  If a compiler subclass
exists outside the distutils package, it may get called with the
unexpected keyword arg.  It's easy to extend that compiler by having
it ignore the argument, and not much harder to do the right thing.  If
this ends up being burdensome, we can change it before 2.3 final to
work harder at compatibility.

Also add _setup_compile() and _get_cc_args() helper functions that
factor out much of the boilerplate for each concrete compiler class.
Lib/distutils/ccompiler.py