Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Piotr Ożarowski
[Scott Kitterman, 2015-04-14] Even after Python (meaning python2.7) is no longer in the archive (let alone part of some type of default install), people might still roll their own. I think the only possible answer to the question of what should /usr/bin/python point to when there's no

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Robert Collins
On 14 April 2015 at 16:38, Scott Kitterman deb...@kitterman.com wrote: On Monday, April 13, 2015 10:36:43 PM Barry Warsaw wrote: On Apr 14, 2015, at 01:57 AM, Matthias Klose wrote: #! /bin/sh python=$(shuffle /usr/bin/python2 /usr/bin/python3) exec $python $@ That was more or less the joke

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Barry Warsaw
On Apr 14, 2015, at 12:38 AM, Scott Kitterman wrote: If you want python (which include /usr/bin/python), install it. If you want python3, then the interpreter you're looking for is found at /usr/bin/python3. I just don't want it to fail mysteriously. When there's no Python 2 by default,

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Thomas Kluyver
On 14 April 2015 at 08:10, Barry Warsaw ba...@python.org wrote: But it fails unhelpfully when you use it in a shebang. $ /tmp/foo.py bash: /tmp/foo.py: /usr/bin/python: bad interpreter: No such file or directory Let's make the latter more helpful. From a script authors point of view,

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Piotr Ożarowski
I'm planning on playing notekeeper, and I'll publish a summary of what was discussed to this thread, if that works. great, thanks -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Paul Tagliamonte
On Tue, Apr 14, 2015 at 08:55:07AM +0200, Piotr Ożarowski wrote: If you want python (which include /usr/bin/python), install it. If you want python3, then the interpreter you're looking for is found at /usr/bin/python3. There's no dilemma to solve. +1 +1, but only because I

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Stefano Rivera
Hi debian-python (2015.04.13_22:17:03_+0200) Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? In case you didn't see the private mails: We've got a table in room 513b. Still on for 3pm

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Geoffrey Thomas
I'm trying to make sure I understand this subthread correctly. Is the following an accurate summary of the desires? 1. It should be possible, in Debian, not to ship Python 2 by default in the near future, and to remove Python 2 from the archive in the far future. 2. A huge number of

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Paul Tagliamonte
On Tue, Apr 14, 2015 at 10:00:07AM -0400, Scott Kitterman wrote: It is, as I think it was you said, easy enough to write Python code these days that works for both python and python3. As an upstream developer, go ahead and do that and leave it to the distros to packageit appropriately for

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Scott Kitterman
On Tuesday, April 14, 2015 09:22:22 AM Thomas Kluyver wrote: On 14 April 2015 at 08:57, Scott Kitterman deb...@kitterman.com wrote: I have scripts I use locally that are untouched in almost a decade that use /usr/bin/python. I'm thinking about scripts that are written and distributed to

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Elena ``of Valhalla''
On 2015-04-14 at 09:22:22 -0400, Thomas Kluyver wrote: I'm thinking about scripts that are written and distributed to people running on different, unknown, Linux distros. Obviously if you're only targeting your own machines, there's no problem. But if you want to write a script that will work

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Scott Kitterman
On Tuesday, April 14, 2015 08:10:49 AM Barry Warsaw wrote: On Apr 14, 2015, at 12:38 AM, Scott Kitterman wrote: If you want python (which include /usr/bin/python), install it. If you want python3, then the interpreter you're looking for is found at /usr/bin/python3. I just don't want it to

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Thomas Kluyver
On 14 April 2015 at 08:57, Scott Kitterman deb...@kitterman.com wrote: I have scripts I use locally that are untouched in almost a decade that use /usr/bin/python. I'm thinking about scripts that are written and distributed to people running on different, unknown, Linux distros. Obviously if

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-14 Thread Scott Kitterman
On Tuesday, April 14, 2015 08:24:01 AM Thomas Kluyver wrote: On 14 April 2015 at 08:10, Barry Warsaw ba...@python.org wrote: But it fails unhelpfully when you use it in a shebang. $ /tmp/foo.py bash: /tmp/foo.py: /usr/bin/python: bad interpreter: No such file or directory Let's

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Matthias Klose
On 04/13/2015 11:07 PM, Donald Stufft wrote: On Apr 13, 2015, at 4:17 PM, Stefano Rivera stefa...@debian.org wrote: Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? Matthias wants to

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Barry Warsaw
On Apr 13, 2015, at 10:17 PM, Stefano Rivera wrote: Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? +1; +1 Matthias wants to discuss general stretch goals for Python in Debian. I want to

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Geoffrey Thomas
On Mon, 13 Apr 2015, Barry Warsaw wrote: On Apr 13, 2015, at 10:17 PM, Stefano Rivera wrote: Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? +1; +1 Matthias wants to discuss general

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Donald Stufft
On Apr 13, 2015, at 4:17 PM, Stefano Rivera stefa...@debian.org wrote: Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? Matthias wants to discuss general stretch goals for Python in

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Scott Kitterman
On April 13, 2015 4:30:59 PM EDT, Barry Warsaw ba...@debian.org wrote: On Apr 13, 2015, at 10:17 PM, Stefano Rivera wrote: Matthias and I are planning to have a Debian Python BoF at PyCon, tomorrow afternoon. I think lunch is 2pm, so 3pm? Meet outside the cPython sprint room? +1; +1 Matthias

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Stefano Rivera
Hi Scott (2015.04.14_01:20:47_+0200) What is a /usr/bin/python launcher? I think that was what Donald was asking for. My gut feeling here is that that's a crazy idea. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272 -- To UNSUBSCRIBE, email to

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Matthias Klose
On 04/14/2015 01:20 AM, Scott Kitterman wrote: What is a /usr/bin/python launcher? #! /bin/sh python=$(shuffle /usr/bin/python2 /usr/bin/python3) exec $python $@ I agree it's not perfect, there should be a preference depending on the number of '2' and '3' digits in the date, when you're trying

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Scott Kitterman
On Tuesday, April 14, 2015 01:57:26 AM Matthias Klose wrote: On 04/14/2015 01:20 AM, Scott Kitterman wrote: What is a /usr/bin/python launcher? #! /bin/sh python=$(shuffle /usr/bin/python2 /usr/bin/python3) exec $python $@ I agree it's not perfect, there should be a preference depending

Re: PyCon BoF: Stretch goals for cPython, PyPy CFFI

2015-04-13 Thread Scott Kitterman
On Monday, April 13, 2015 10:36:43 PM Barry Warsaw wrote: On Apr 14, 2015, at 01:57 AM, Matthias Klose wrote: #! /bin/sh python=$(shuffle /usr/bin/python2 /usr/bin/python3) exec $python $@ That was more or less the joke I made at the Pycon Language Summit. It's too twisted *not* to