This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Clean up bytes I/O in get_compiler_versions
Type: behavior Stage: resolved
Components: Distutils2 Versions: Python 3.3
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: tarek Nosy List: alexis, eric.araujo, ezio.melotti, tarek
Priority: normal Keywords:

Created on 2011-06-03 17:14 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg137561 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-03 17:14
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.
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56467
2014-03-13 10:39:30eric.araujosetstatus: open -> closed
resolution: out of date
stage: needs patch -> resolved
2011-11-19 13:35:37ezio.melottisetnosy: + ezio.melotti
type: behavior
2011-06-03 17:14:41eric.araujocreate