tarfile.StreamError

exception tarfile.StreamError Is raised for the limitations that are typical for stream-like TarFile objects.

tarfile.ReadError

exception tarfile.ReadError Is raised when a tar archive is opened, that either cannot be handled by the tarfile module or is somehow invalid.

tarfile.open()

tarfile.open(name=None, mode='r', fileobj=None, bufsize=10240, **kwargs) Return a TarFile object for the pathname name. For detailed information on TarFile objects and the keyword arguments that are allowed, see TarFile Objects. mode has to be a string of the form 'filemode[:compression]', it defaults to 'r'. Here is a full list of mode combinations: mode action 'r' or 'r:*' Open for reading with transparent compression (recommended). 'r:' Open for reading exclusively without compression. 'r

tarfile.is_tarfile()

tarfile.is_tarfile(name) Return True if name is a tar archive file, that the tarfile module can read.

tarfile.HeaderError

exception tarfile.HeaderError Is raised by TarInfo.frombuf() if the buffer it gets is invalid.

tarfile.ExtractError

exception tarfile.ExtractError Is raised for non-fatal errors when using TarFile.extract(), but only if TarFile.errorlevel== 2.

tarfile.CompressionError

exception tarfile.CompressionError Is raised when a compression method is not supported or when the data cannot be decoded properly.

tabnanny.verbose

tabnanny.verbose Flag indicating whether to print verbose messages. This is incremented by the -v option if called as a script.

tabnanny.tokeneater()

tabnanny.tokeneater(type, token, start, end, line) This function is used by check() as a callback parameter to the function tokenize.tokenize().

tabnanny.NannyNag

exception tabnanny.NannyNag Raised by tokeneater() if detecting an ambiguous indent. Captured and handled in check().