Opened 3 months ago

Last modified 2 days ago

#36321 new New feature

Use argparse suggest_on_error on Python 3.14+

Reported by: Adam Johnson Owned by:
Component: Core (Management commands) Version: dev
Severity: Normal Keywords: 6.1
Cc: Ahmed Ibrahim Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.python.org/3.14/library/argparse.html#suggest-on-error

This new feature provides friendly feedback when mistyping an argument. We can activate for all argparse Parsers (mostly management commands) when Django supports Python 3.14.

Change History (4)

comment:1 by Natalia Bidart, 3 months ago

Keywords: 6.1 added
Triage Stage: UnreviewedSomeday/Maybe

Thank you Adam, the feature request makes sense. Given that Python 3.14 is scheduled for October 1st, and the feature freeze for 6.0 is mid September, we could only include this starting in 6.1.

comment:2 by Natalia Bidart, 3 months ago

#36322 was a duplicate.

comment:3 by Adam Johnson, 3 months ago

The very next ticket... what are the chances?

comment:4 by Ahmed Ibrahim, 2 days ago

Cc: Ahmed Ibrahim added
Note: See TracTickets for help on using tickets.
Back to Top