#27657: Getting crash when using the runserver command on Windows 10 in 
PowerShell
following update to Python 3.6
----------------------------+--------------------------------------
     Reporter:  horatius83  |                    Owner:  nobody
         Type:  Bug         |                   Status:  new
    Component:  Utilities   |                  Version:  1.10
     Severity:  Normal      |               Resolution:
     Keywords:              |             Triage Stage:  Unreviewed
    Has patch:  0           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+--------------------------------------

Comment (by horatius83):

 I have established that PowerShell is not passing in the arguments as
 tuples by running just {{{args = [sys.executable] + ['-W%s' % o for o in
 sys.warnoptions] + sys.argv}}} in a small script.

 I have no experience in debugging large Python programs. My naive approach
 would be to run up the stack trace, setting breakpoints and trying to
 establish if sys.argv is getting mutated somewhere. Ideally I'd like to
 set a breakpoint in a setter of some kind, if that's even possible. Is
 there a more elegant approach to this? (Laziness is a virtue, at least
 that's what the Haskellers tell me)

--
Ticket URL: <https://code.djangoproject.com/ticket/27657#comment:2>
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/068.3a21e2bddb93fedc74f8142824c9e2fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to