Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-02 Thread Allan McRae
On 03/03/11 00:03, Piotr Ożarowski wrote: [Sandro Tosi, 2011-03-02] On Wed, Mar 2, 2011 at 13:56, Piotr Ożarowskipi...@debian.org wrote: [Sandro Tosi, 2011-03-02] On Wed, Mar 2, 2011 at 10:01, Piotr Ożarowskipi...@debian.org wrote: I co-maintain with Matthias a package that provides

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-02 Thread Allan McRae
On 03/03/11 00:29, Piotr Ożarowski wrote: [Allan McRae, 2011-03-02] But is that not the whole point of adding the /usr/bin/python2 symlink. That way a developer can explicitly use a /usr/bin/python2 or /usr/bin/python3 shebang and have it portable everywhere. At the moment, Debian seems

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-01 Thread Allan McRae
On 02/03/11 08:06, Guido van Rossum wrote: On Tue, Mar 1, 2011 at 1:26 PM, Eric Smithe...@trueblade.com wrote: On 3/1/2011 4:19 PM, Kerrick Staley wrote: Hello, There is a need for the default Python2 install to place a symlink at /usr/bin/python2 that points to /usr/bin/python, or for the

Re: [Python-Dev] Python-3 transition in Arch Linux

2010-11-05 Thread Allan McRae
On 05/11/10 18:47, Thomas Wouters wrote: No, that's not my point at all. The problem isn't that Python 3 is incompatible with Python 2. The problem is that stuff broke without (apparently) fair warning. snip Just to clarify (and going way off topic for this list...), this was discussed on

Re: [Python-Dev] Python-3 transition in Arch Linux

2010-11-04 Thread Allan McRae
On 05/11/10 08:40, Laurens Van Houtven wrote: On Thu, Nov 4, 2010 at 5:44 AM, Allan McRaeal...@archlinux.org wrote: According to #python, we are all idiots I realize this is not really what your message was about and for sake of brevity you used a bit of a hyperbole, but like Thomas I

Re: [Python-Dev] Python-3 transition in Arch Linux

2010-11-04 Thread Allan McRae
On 05/11/10 11:20, Jesus Cea wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/10 05:44, Allan McRae wrote: The second case was particularly interesting. These software would change some of their #! to point at the python2 symlink and leave the rest pointing at python. Note

[Python-Dev] Python-3 transition in Arch Linux

2010-11-03 Thread Allan McRae
. And it is generally bad practice to hardcode /usr/bin/python into any application as you are never quite sure which version you are getting. Instead allow it to be configured, keeping the current value as default. Cheers, Allan -- Allan McRae Arch Linux Developer

Re: [Python-Dev] #!/usr/bin/env python -- python3 where applicable

2009-04-18 Thread Allan McRae
Nick Coghlan wrote: Steven Bethard wrote: On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan ncogh...@gmail.com wrote: Note that such an approach would then require an altaltinstall command in order to be able to install a specific version of python 3.x without changing the python3 alias

Re: [Python-Dev] #!/usr/bin/env python -- python3 where applicable

2009-04-18 Thread Allan McRae
Allan McRae wrote: Nick Coghlan wrote: Steven Bethard wrote: On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan ncogh...@gmail.com wrote: Note that such an approach would then require an altaltinstall command in order to be able to install a specific version of python 3.x without changing