On Mon, Feb 20, 2012 at 4:58 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
PEP 394 was at the top of my list recently
I've tried to edit it to be a little bit shorter (perhaps cleaner) and commented (up to revision 2) up to Migration Notes. http://piratepad.net/pep-0394 The main points: 1. `python2.7` should be `python27` 2. until platform supports Python 2, `python` should link to python2 binary 3. python2 should always point to the latest version available on the system (I didn't write that in comments) -- anatoly t.
ArchLinux has used `python` as alias for `python3` while `python2` is still supported. On Mon, Feb 20, 2012 at 4:58 PM, anatoly techtonik <techtonik@gmail.com> wrote:
On Mon, Feb 20, 2012 at 4:58 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
PEP 394 was at the top of my list recently
I've tried to edit it to be a little bit shorter (perhaps cleaner) and commented (up to revision 2) up to Migration Notes. http://piratepad.net/pep-0394
The main points: 1. `python2.7` should be `python27` 2. until platform supports Python 2, `python` should link to python2 binary 3. python2 should always point to the latest version available on the system (I didn't write that in comments) -- anatoly t.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com
On Tue, Feb 21, 2012 at 12:58 AM, anatoly techtonik <techtonik@gmail.com> wrote:
On Mon, Feb 20, 2012 at 4:58 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
PEP 394 was at the top of my list recently
I've tried to edit it to be a little bit shorter (perhaps cleaner) and commented (up to revision 2) up to Migration Notes. http://piratepad.net/pep-0394
The main points: 1. `python2.7` should be `python27`
No, it shouldn't. The default *nix links include the period (it's only the Windows binaries that leave it out)
2. until platform supports Python 2, `python` should link to python2 binary
That's a distro decision - if their Python 2 code is all updated to specifically use "python2", they can switch the default whenever they want.
3. python2 should always point to the latest version available on the system
No, it should point to the distro installed version or wherever the system admin decides to point it. So long as it points to *some* flavour of Python 2, it's in line with the recommendation. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
anatoly techtonik -
Andrew Svetlov -
Nick Coghlan