Author vstinner
Recipients Windson Yang, lemburg, serhiy.storchaka, vstinner
Date 2018-12-14.14:21:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544797285.82.0.788709270274.issue35348@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.7 branch, _syscmd_file() only used -b option during one day (no Python 2.7.x release used -b):

* Oct 4, 2012: commit 95038fa526c8b93e42c59b0735edf1c80b7b6449 added -b: "Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file"
* Oct 5, 2012: commit 2699c9d24810196a07e0577215ec3beb7ecfb55b removed -b: "#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch"

Python 3.2.0 (Feb 2011) to 3.2.3 (Sep 2012) and Python 3.3.0 (Sep 2012) used -b:

* Aug 13, 2010: commit ddfb2c3a338a8c1550774648f816e96c41f59de1 added -b: "Omit the filename to avoid enconding issues, especially with non encodable characters in the Python full path."
* Oct 5, 2012: commit 685fffa8f427b3a768b232170752565d58c32112 removed -b: "#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch"
History
Date User Action Args
2018-12-14 14:21:25vstinnersetrecipients: + vstinner, lemburg, serhiy.storchaka, Windson Yang
2018-12-14 14:21:25vstinnersetmessageid: <1544797285.82.0.788709270274.issue35348@psf.upfronthosting.co.za>
2018-12-14 14:21:25vstinnerlinkissue35348 messages
2018-12-14 14:21:25vstinnercreate