#29295: BaseCommand.add_arguments crashes when using
parser.add_subparsers().add_parser("subcommand")
-------------------------------------+-------------------------------------
Reporter: Lutz Prechelt | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 1.11
commands) |
Severity: Normal | Resolution:
Keywords: BaseCommand | Triage Stage: Accepted
argparse subparser add_subparsers |
add_parser |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* stage: Unreviewed => Accepted
Comment:
While investigating the issue, I wrote a patch that I think should solve
the issue. What remains is to add a test, probably in
`tests/user_commands`. What you like to try that?
--
Ticket URL: <https://code.djangoproject.com/ticket/29295#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/066.9b43dc0f4766441a0b0797c08c53092e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.