Author martin.panter
Recipients martin.panter, mystor, r.david.murray, serhiy.storchaka, vstinner
Date 2015-11-26.01:18:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448500705.94.0.494070266084.issue25677@psf.upfronthosting.co.za>
In-reply-to
Content
Another way to get universal newlines I have used in other cases is to use TextIOWrapper. It might be easier if you really need that multi-line RE search:

text = TextIOWrapper(BytesIO(stderr), "ascii").read()
History
Date User Action Args
2015-11-26 01:18:26martin.pantersetrecipients: + martin.panter, vstinner, r.david.murray, serhiy.storchaka, mystor
2015-11-26 01:18:25martin.pantersetmessageid: <1448500705.94.0.494070266084.issue25677@psf.upfronthosting.co.za>
2015-11-26 01:18:25martin.panterlinkissue25677 messages
2015-11-26 01:18:24martin.pantercreate