Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18325 closed Cleanup/optimization (fixed)

Wrap management stdout/stderr

Reported by: claudep Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


This cleanup is both a preparation to Python 3 (where sys.stdout expects Unicode) and to redirect output to logging (#15107).

Attachments (1)

18325.diff (20.1 KB) - added by claudep 4 years ago.
Wrap self.stdout/selfstderr in OutputWrapper

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by claudep

Wrap self.stdout/selfstderr in OutputWrapper

comment:1 Changed 4 years ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from new to closed

In [822d6d6dabc959532fb2904376580e8947c519f6]:

Fixed #18325 -- Wrapped self.stdout/stderr in OutputWrapper class

comment:2 Changed 4 years ago by Claude Paroz <claude@…>

In dcdaf9a07901c80c0d93663b348595dd2ba7b7a6:

Fixed error output from runserver

This has been missed in commit 822d6d6dab (Refs #18325).

Note: See TracTickets for help on using tickets.
Back to Top