Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 364 Bytes

2022-11-26-22-05-22.gh-issue-99203.j0DUae.rst

File metadata and controls

5 lines (5 loc) · 364 Bytes

Restore following CPython <= 3.10.5 behavior of :func:`shutil.make_archive`: do not create an empty archive if root_dir is not a directory, and, in that case, raise :class:`FileNotFoundError` or :class:`NotADirectoryError` regardless of format choice. Beyond the brought-back behavior, the function may now also raise these exceptions in dry_run mode.