/usr/bin/python2 should exist per PEP 394

Originator:abarnert
Number:rdar://20143311 Date Originated:12 March 2015
Status:open Resolved:
Product:OS X Product Version:10.10
Classification:enhancement Reproducible:100%
 
According to PEP 394 (https://www.python.org/dev/peps/pep-0394/), OS X's built-in Python 2.7 should be accessible not only as "python" and "python2.7", but also as "python2".

This requires only adding a symlink named /usr/bin/python2 pointing to either ./python or ./python2.7 (either one seems reasonable), which shouldn't cause any backward-compatibility or maintenance problems.

Ideally, this should be fixed in dot releases for all currently-maintained OS X versions, not just in 10.11.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!