add ENOTDIR to from_file silent error handling

This commit is contained in:
abdullahmujahidali 2026-02-09 07:27:09 +05:00
parent d3b78fd18a
commit 560ea7fd40
3 changed files with 17 additions and 1 deletions

View file

@ -23,6 +23,8 @@ Unreleased
switching ``POST`` to ``GET``. This preserves the current behavior of
``GET`` and ``POST`` redirects, and is also correct for frontend libraries
such as HTMX. :issue:`5895`
- ``Config.from_file()`` with ``silent=True`` handles ``ENOTDIR`` errors,
matching the behavior of ``Config.from_pyfile()``. :issue:`5912`
Version 3.1.2