Skip to content

Commit 0bf0c3d

Browse files
author
Release Manager
committed
gh-38326: Fix issue 37519 Fix Python2 code artifact: replace sys.stdout with sys.stdout.buffer URL: #38326 Reported by: Max Alekseyev Reviewer(s): Travis Scrimshaw
2 parents 6e3c4ed + 940ed81 commit 0bf0c3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/interfaces/qepcad.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def __init__(self, formula,
809809
810810
A logfile can be specified with ``logfile``.
811811
If ``verbose=True`` is given, then the logfile is automatically
812-
set to ``sys.stdout``, so all QEPCAD interaction is echoed to
812+
set to ``sys.stdout.buffer``, so all QEPCAD interaction is echoed to
813813
the terminal.
814814
815815
You can set the amount of memory that QEPCAD allocates with
@@ -839,7 +839,7 @@ def __init__(self, formula,
839839
self._cell_cache = {}
840840

841841
if verbose:
842-
logfile = sys.stdout
842+
logfile = sys.stdout.buffer
843843

844844
varlist = None
845845
if vars is not None:

0 commit comments

Comments
 (0)