Issue 12258: Clean up bytes I/O in get_compiler_versions (original) (raw)

Issue12258

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.
History
Date User Action Args
2022-04-11 14:57:18 admin set github: 56467
2014-03-13 10:39:30 eric.araujo set status: open -> closedresolution: out of datestage: needs patch -> resolved
2011-11-19 13:35:37 ezio.melotti set nosy: + ezio.melottitype: behavior
2011-06-03 17:14:41 eric.araujo create