diff options
author | Greg Ward <gward@python.net> | 2000-04-15 22:15:07 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-04-15 22:15:07 +0000 |
commit | 02a1a2b077e969e5fef8504cece5852bf641552d (patch) | |
tree | 4adea05076d4dab820180e6c9290ae9b1d7b28a4 /Python | |
parent | 4a3dd2dcc2fae12b6736822731848c557b80d0e3 (diff) | |
download | cpython-git-02a1a2b077e969e5fef8504cece5852bf641552d.tar.gz |
Cleaned up/simplified error-handling:
- DistutilsOptionError is now documented as it's actually used, ie.
to indicate bogus option values (usually user options, eg. from
the command-line)
- added DistutilsSetupError to indicate errors that definitely arise
in the setup script
- got rid of DistutilsValueError, and changed all usage of it to
either DistutilsSetupError or ValueError as appropriate
- simplified a bunch of option get/set methods in Command and
Distribution classes -- just pass on AttributeError most of
the time, rather than turning it into something else
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions