diff options
| author | kihuni <stephenkihuni55@gmail.com> | 2025-11-02 08:50:45 +0300 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-11-20 15:40:07 -0500 |
| commit | b1a65eac7c09250d36e12464fc8fff2a401246b6 (patch) | |
| tree | 50edf2b1eca970b169d75cfdf07d6c8049f1dbff /docs | |
| parent | ee2e0e202874db31449d3c7c292504652fa87f69 (diff) | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/6.1.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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 ~~~~~~~~~~ |
