Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8c66b697
Commit
8c66b697
authored
Aug 14, 1999
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added DistutilsExecError, DistutilsValueError.
parent
e27db5a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
Lib/distutils/errors.py
Lib/distutils/errors.py
+13
-1
No files found.
Lib/distutils/errors.py
View file @
8c66b697
...
...
@@ -52,12 +52,22 @@ if type (RuntimeError) is types.ClassType:
class
DistutilsOptionError
(
DistutilsError
):
pass
# DistutilsValueError is raised anytime an option value (presumably
# provided by setup.py) is invalid.
class
DistutilsValueError
(
DistutilsError
):
pass
# DistutilsPlatformError is raised when we find that we don't
# know how to do something on the current platform (but we do
# know how to do it on some platform).
class
DistutilsPlatformError
(
DistutilsError
):
pass
# DistutilsExecError is raised if there are any problems executing
# an external program
class
DistutilsExecError
(
DistutilsError
):
pass
# String-based exceptions
else
:
DistutilsError
=
'DistutilsError'
...
...
@@ -67,6 +77,8 @@ else:
DistutilsArgError
=
'DistutilsArgError'
DistutilsFileError
=
'DistutilsFileError'
DistutilsOptionError
=
'DistutilsOptionError'
DistutilsValueError
=
'DistutilsValueError'
DistutilsPlatformError
=
'DistutilsPlatformError'
DistutilsExecError
=
'DistutilsExecError'
del
types
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment