STINNER Victor <vstin...@redhat.com> added the comment:

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"

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to