#32669: Fix for #32314 causing problems with non-package dotted name specified
to
-m
-------------------------------------+-------------------------------------
Reporter: Moriyoshi | Owner: nobody
Koizumi |
Type: | Status: new
Uncategorized |
Component: Utilities | Version: 3.2
Severity: Normal | Keywords: autoreload
Triage Stage: | runserver
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The original fix [1] only attempted to deal with "-m foo.bar" where bar is
a package and __main__.py exists under foo/bar.
When a dotted name for a module (for example, foo.bar.baz where baz.py
resides under foo/bar) is specified like "-m foo.bar.baz", the resulting
arguments end up being "-m foo.bar", which is uncalled for.
[1]
https://github.com/django/django/commit/ec6d2531c59466924b645f314ac33f54470d7ac3
--
Ticket URL: <https://code.djangoproject.com/ticket/32669>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.c50f5397953bf1457e526f404eb8cd67%40djangoproject.com.