On this page
tarfile.SpecialFileError
Prev: tarfile.ReadError | Up: tarfile | Next: tarfile.StreamError
Rel: tarfile.AbsoluteLinkError, tarfile.AbsolutePathError, tarfile.CompressionError, tarfile.data_filter
Ref: docs.python.org โ tarfile.SpecialFileError
Tags: #public #python3 #stdlib #tarfile
Import
import tarfile
from tarfile import SpecialFileError
Signature & Overview
tarfile.SpecialFileError(tarinfo)
tarfile.SpecialFileError class.
Methods & Attributes
SpecialFileError.add_note(self, note, /)โ Add a note to the exceptionSpecialFileError.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import tarfile
assert issubclass(tarfile.SpecialFileError, tarfile.FilterError)
Gotchas
- Python 3.12+: Raised by
data_filterwhen an archive contains device nodes or FIFOs.
REPL Inspect
from tarfile import SpecialFileError
help(SpecialFileError)
Linked from
Related notes
- tuts/python3/stdlib_module/tarfile/ReadError Linked here; links to this page; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/StreamError Linked here; links to this page; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/AbsoluteLinkError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/AbsolutePathError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/CompressionError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/data_filter Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/TarFile Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/tarfile/ExtractError shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/FilterError shared tags: #stdlib, #tarfile