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.

Author evan_
Recipients Josh Wilson, evan_, paul.moore, steve.dower, tim.golden, vinay.sajip, zach.ware
Date 2017-01-10.10:51:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484045478.57.0.981386044681.issue29213@psf.upfronthosting.co.za>
In-reply-to
Content
The scripts are being read in with mode 'rb', decoded, modified, then written back out with mode 'w'. This means the EOL conversion doesn't happen on the way in, but does happen on the way out, and so '\r\n' becomes '\r\r\n'. One fix would be to always use binary mode and encode the contents back to bytes instead. However since there are no longer any binary files in venv/Scripts/*, perhaps a better fix is to remove the binary handling entirely and always use text mode?
History
Date User Action Args
2017-01-10 10:51:18evan_setrecipients: + evan_, paul.moore, vinay.sajip, tim.golden, zach.ware, steve.dower, Josh Wilson
2017-01-10 10:51:18evan_setmessageid: <1484045478.57.0.981386044681.issue29213@psf.upfronthosting.co.za>
2017-01-10 10:51:18evan_linkissue29213 messages
2017-01-10 10:51:18evan_create