#29392: Command parsing does not handle options that conflict with
`--settings`/`--pythonpath`
-------------------------------------+-------------------------------------
Reporter: Ryan P Kilby | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* version: 2.0 => master
* type: Bug => New feature
* stage: Unreviewed => Accepted
Comment:
Hi Ryan. Thanks for the report. This seems reasonable.
Interestingly, with the patch, if you pass an abbreviation to second
parser you get the error you'd expect:
manage.py config: error: ambiguous option: --se could match --set,
--settings
> ...this option is only available in Python 3.5 and above.
Right. For that reason lets call this a New Feature and roll it into 2.1,
where we don't have to worry about compat. (This has existed for ≈forever
so I can't see the harm in holding off slightly.)
> Also, this might be considered a breaking change if users are expecting
to be able to use the abbreviated option names, but I don't know if that's
really a concern.
Yes, probably not a biggie but could you add a note to the Breaking
changes section in `2.1.txt`.
--
Ticket URL: <https://code.djangoproject.com/ticket/29392#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.617e4c7233ad6f92d245e9bd5b49811d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.