From b1a65eac7c09250d36e12464fc8fff2a401246b6 Mon Sep 17 00:00:00 2001 From: kihuni Date: Sun, 2 Nov 2025 08:50:45 +0300 Subject: Fixed #36321 -- Defaulted suggest_on_error=True in management commands. Python 3.15 defaults suggest_on_error=True, but the feature is available from 3.14, so this change opts in earlier. This change can be reverted when Python 3.15 is the minimum supported version. --- docs/releases/6.1.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index f3338f8933..41b554bb5d 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -228,7 +228,9 @@ Logging Management Commands ~~~~~~~~~~~~~~~~~~~ -* ... +* Management commands now set :class:`~argparse.ArgumentParser`\'s + ``suggest_on_error`` argument to ``True`` by default on Python 3.14, enabling + suggestions for mistyped subcommand names and argument choices. Migrations ~~~~~~~~~~ -- cgit v1.3