[New-bugs-announce] [issue12258] Clean up bytes I/O in get_compiler_versions

Éric Araujo report at bugs.python.org
Fri Jun 3 19:14:42 CEST 2011


New submission from Éric Araujo <merwok at netwok.org>:

get_compiler_versions uses string regexes to match bytes streams returned by subprocess.  The test did not catch this because they mock subprocess output with strings in self._exes.

We have to decide whether we propagate the bytes object up (and fix two regexes, a comparison and the tests), or to decode the subprocess output to strings.

----------
assignee: tarek
components: Distutils2
messages: 137561
nosy: alexis, eric.araujo, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: Clean up bytes I/O in get_compiler_versions
versions: Python 3.3

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


More information about the New-bugs-announce mailing list