#19593: Add flushing of stdout and stderr for the `manage.py runserver` 
management
command
-------------------------------------+-------------------------------------
     Reporter:  chroto24@…           |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by akaariai):

 * needs_better_patch:   => 0
 * stage:  Unreviewed => Accepted
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I am going to wontfix this - you can open the subprocess with 'python -u'
 if needed which should give the semantics wanted.

 If this isn't possible to do for some reason, then lets reconsider. In
 that case I think we should then make self.stdout and self.stderr
 unbuffered by default for all management commands.

 An useful stackoverflow link: http://stackoverflow.com/questions/881696
 /unbuffered-stdout-in-python-as-in-python-u-from-within-the-program

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19593#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to