"""distutils.errorsProvides exceptions used by the Distutils modules. Note that Distutilsmodules may raise standard exceptions; in particular, SystemExit isusually raised for errors that are obviously the end-user's fault(eg. bad command-line arguments).This module is safe to use in "from ... import *" mode; it only exportssymbols whose names start with "Distutils" and end with "Error"."""class DistutilsError (Exception):"""The root of all Distutils evil."""passclass DistutilsModuleError (DistutilsError):"""Unable to load an expected module, or to find an expected classwithin some module (in particular, command modules and classes)."""passclass DistutilsClassError (DistutilsError):"""Some command class (or possibly distribution class, if anyonefeels a need to subclass Distribution) is found not to be holdingup its end of the bargain, ie. implementing some part of the"command "interface."""passclass DistutilsGetoptError (DistutilsError):"""The option table provided to 'fancy_getopt()' is bogus."""passclass DistutilsArgError (DistutilsError):"""Raised by fancy_getopt in response to getopt.error -- ie. anerror in the command line usage."""passclass DistutilsFileError (DistutilsError):"""Any problems in the filesystem: expected file not found, etc.Typically this is for problems that we detect before OSErrorcould be raised."""passclass DistutilsOptionError (DistutilsError):"""Syntactic/semantic errors in command options, such as use ofmutually conflicting options, or inconsistent options,badly-spelled values, etc. No distinction is made between optionvalues originating in the setup script, the command line, configfiles, or what-have-you -- but if we *know* something originated inthe setup script, we'll raise DistutilsSetupError instead."""passclass DistutilsSetupError (DistutilsError):"""For errors that can be definitely blamed on the setup script,such as invalid keyword arguments to 'setup()'."""passclass DistutilsPlatformError (DistutilsError):"""We don't know how to do something on the current platform (butwe do know how to do it on some platform) -- eg. trying to compileC files on a platform not supported by a CCompiler subclass."""passclass DistutilsExecError (DistutilsError):"""Any problems executing an external program (such as the Ccompiler, when compiling C files)."""passclass DistutilsInternalError (DistutilsError):"""Internal inconsistencies or impossibilities (obviously, thisshould never be seen if the code is working!)."""passclass DistutilsTemplateError (DistutilsError):"""Syntax error in a file list template."""class DistutilsByteCompileError(DistutilsError):"""Byte compile error."""# Exception classes used by the CCompiler implementation classesclass CCompilerError (Exception):"""Some compile/link operation failed."""class PreprocessError (CCompilerError):"""Failure to preprocess one or more C/C++ files."""class CompileError (CCompilerError):"""Failure to compile one or more C/C++ source files."""class LibError (CCompilerError):"""Failure to create a static library from one or more C/C++ objectfiles."""class LinkError (CCompilerError):"""Failure to link one or more C/C++ object files into an executableor shared library file."""class UnknownFileError (CCompilerError):"""Attempt to process an unknown file type."""
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。