summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sax.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-25 01:23:52 (GMT)
committerGreg Ward <gward@python.net>2000-09-25 01:23:52 (GMT)
commitceb9e226a638301e68420d7b6728bdc86fd30f0c (patch)
treebfa4fcb980c23b2490404c0e605652443d12ef60 /Lib/test/test_sax.py
parent84da8aa7e2f1bdaf8692dbfd9981430c84278038 (diff)
downloadcpython-ceb9e226a638301e68420d7b6728bdc86fd30f0c.zip
cpython-ceb9e226a638301e68420d7b6728bdc86fd30f0c.tar.gz
cpython-ceb9e226a638301e68420d7b6728bdc86fd30f0c.tar.bz2
Fixed some bugs and mis-features in handling config files:
* options can now be spelled "foo-bar" or "foo_bar" (handled in 'parse_config_files()', just after we parse a file) * added a "[global]" section so there's a place to set global options like verbose/quiet and dry-run * respect the "negative alias" dictionary so (eg.) "quiet=1" is the same as "verbose=0" (this had to be done twice: once in 'parse_config_file()' for global options, and once in '_set_command_options()' for per-command options) * the other half of handling boolean options correctly: allow commands to list their boolean options in a 'boolean_options' class attribute, and use it to translate strings (like "yes", "1", "no", "0", etc) to true or false
Diffstat (limited to 'Lib/test/test_sax.py')
0 files changed, 0 insertions, 0 deletions