summaryrefslogtreecommitdiff
path: root/Python/strerror.c
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>1999-10-03 21:02:48 +0000
committerGreg Ward <gward@python.net>1999-10-03 21:02:48 +0000
commit0c35ac62d8e4e40bef4e1687be51bf0fe619c01d (patch)
tree16db010cceda0eaa97f881b18f1b07fc298d1c23 /Python/strerror.c
parentf3b997a7f0040c6eeade614cc1b1e003d3e31818 (diff)
downloadcpython-git-0c35ac62d8e4e40bef4e1687be51bf0fe619c01d.tar.gz
Added 'force' and 'quiet' (negative alias for 'verbose') to the
global options table. Every Command instance now has its own copies of the global options, which automatically fallback to the Distribution instance. Changes: - initialize them in constructor - added '__getattr__()' to handle the fallback logic - changed every 'self.distribution.{verbose,dry_run}' in Command to 'self.{verbose,dry_run}'. - filesystem utility methods ('copy_file()' et al) don't take 'update' parameter anymore -- instead we pass 'not force' to the underlying function as 'update' Changed parsing of command line so that global options apply to all commands as well -- that's how (eg.) Command.verbose will be initialized. Simplified 'make_file()' to use 'newer_group()' (from util module). Deleted some cruft. Some docstring tweaks.
Diffstat (limited to 'Python/strerror.c')
0 files changed, 0 insertions, 0 deletions