Code

Opened 2 years ago

Closed 2 years ago

Last modified 19 months 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

Description

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 2 years ago.
Wrap self.stdout/selfstderr in OutputWrapper

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by claudep

Wrap self.stdout/selfstderr in OutputWrapper

comment:1 Changed 2 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 19 months ago by Claude Paroz <claude@…>

In dcdaf9a07901c80c0d93663b348595dd2ba7b7a6:

Fixed error output from runserver

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.