On this page
  1. tarfile.fully_trusted_filter
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

tarfile.fully_trusted_filter

Prev: tarfile.FilterError | Up: tarfile | Next: tarfile.HeaderError
Rel: tarfile.AbsoluteLinkError, tarfile.AbsolutePathError, tarfile.CompressionError, tarfile.data_filter
Ref: docs.python.org — tarfile.fully_trusted_filter
Tags: #public #python3 #stdlib #tarfile


Import

import tarfile
from tarfile import fully_trusted_filter

Signature & Overview

tarfile.fully_trusted_filter(member, dest_path)

tarfile.fully_trusted_filter() function.

Usage

import tarfile

# Python 3.12+: restores legacy unrestricted extraction for trusted archives only
assert callable(tarfile.fully_trusted_filter)

Gotchas

REPL Inspect

from tarfile import fully_trusted_filter
help(fully_trusted_filter)

Linked from

Related notes