Author r.david.murray
Recipients Kevin Bonham, r.david.murray
Date 2017-01-11.19:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, it is intended behavior, and it is documented.  The default mode for NamedTemporaryFile (and TemporaryFile) is shown in the docs as "w+b".

I suppose that used to be more convenient in python2 where there was almost no distinction between binary and text on unix, but I think we are unlikely to change the default at this point.
Date User Action Args
2017-01-11 19:55:09r.david.murraysetrecipients: + r.david.murray, Kevin Bonham
2017-01-11 19:55:09r.david.murraysetmessageid: <>
2017-01-11 19:55:09r.david.murraylinkissue29245 messages
2017-01-11 19:55:09r.david.murraycreate