8000 Add missing exception classes in `setuptools.errors` by maresb · Pull Request #10057 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Add missing exception classes in setuptools.errors #10057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Readd C compiler errors in setuptools.errors
  • Loading branch information
maresb committed Apr 17, 2023
commit d94ca14aa3fa364f19b50e95fd7240c174847a35
6 changes: 6 additions & 0 deletions stubs/setuptools/setuptools/errors.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
from ._distutils.errors import DistutilsError

class RemovedCommandError(DistutilsError, RuntimeError): ...
class CCompilerError(Exception): ...
class PreprocessError(CCompilerError): ...
class CompileError(CCompilerError): ...
class LibError(CCompilerError): ...
class LinkError(CCompilerError): ...
class UnknownFileError(CCompilerError): ...
0