[issue18299] Change script_helper to use universal_newlines=True in _assert_python

R. David Murray report at bugs.python.org
Tue Jun 25 14:31:30 CEST 2013


New submission from R. David Murray:

A look at a random selection of tests that use script_helper indicates that using universal_newlines=True would either simplify or make no difference to the usage of the script_helper assert_python functions in the majority of the tests that use it.  Even if there turn out to be a few uses where having bytes is required, it would probably be worth catering to the common case and making those exceptional cases use Popen directly.  (Or alternatively provide assert_python_xxx_binary helpers.)

----------
keywords: easy
messages: 191854
nosy: r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: Change script_helper to use universal_newlines=True in _assert_python
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18299>
_______________________________________


More information about the Python-bugs-list mailing list