Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-08 Thread Philip Semanchuk
On Jul 7, 2010, at 11:26 PM, Terry Reedy wrote: On 7/7/2010 5:29 AM, geremy condra wrote: On Tue, Jul 6, 2010 at 1:37 AM, Terry Reedy wrote: On 7/5/2010 9:00 PM, Philip Semanchuk wrote: On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote: On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchu I port

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-08 Thread Giampaolo Rodolà
2010/7/8 Michele Simionato : > On Jul 7, 10:55 pm, Carl Banks wrote: >> On Jul 7, 1:31 am, Paul McGuire wrote: >> > I just >> > couldn't get through on the python-dev list that I couldn't just >> > upgrade my code to 2.6 and then use 2to3 to keep in step across the >> > 2-3 chasm, as this would l

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-08 Thread Steven D'Aprano
On Wed, 07 Jul 2010 14:10:57 -0700, Brendan Abel wrote: > The entire fact that 3.x was *designed* to be incompatible should tell > you that supporting 2.x and 3.x with a single code base is a bad idea, > except for the very smallest of projects. I don't see that follows at all. If the incompatibi

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Martin v. Loewis
> I just > couldn't get through on the python-dev list that I couldn't just > upgrade my code to 2.6 and then use 2to3 to keep in step across the > 2-3 chasm, as this would leave behind my faithful pre-2.6 users. Not sure whom you had been talking to. But I would have tried to explain that you don

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Martin v. Loewis
> Python 3.x will continue to change. The incompatibilities between 3.x > and 2.x will only become more numerous. If your goal is to support > 2.x, and 3.x, you'd be best supporting them separately. I don't think that's a particularly good approach. Having a single code base for both likely redu

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Michele Simionato
On Jul 7, 10:55 pm, Carl Banks wrote: > On Jul 7, 1:31 am, Paul McGuire wrote: > > I just > > couldn't get through on the python-dev list that I couldn't just > > upgrade my code to 2.6 and then use 2to3 to keep in step across the > > 2-3 chasm, as this would leave behind my faithful pre-2.6 user

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Martin v. Loewis
Am 07.07.2010 23:10, schrieb Brendan Abel: One thing that would be very useful is how to maintain something that works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up versions below 2.6 is out of the question for most projects with a significant userbase IMHO. As suc

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Zooko O'Whielacronx
Dear Paul McGuire: Thank you very much for these notes! See also a few other notes: Michael Foord: http://www.voidspace.org.uk/python/weblog/arch_d7_2010_03_20.shtml#e1167 Ned Batchelder: http://nedbatchelder.com/blog/200910/running_the_same_code_on_python_2x_and_3x.html I was wondering if it

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Terry Reedy
On 7/7/2010 4:31 AM, Paul McGuire wrote: [snip interesting report on how Paul suppost pyparsing for 2.3 to 3.1] Thank you for this. Do you think such cross-version support would have been easier or harder if the major changes and deletions in 3.0 has been spread over several versions, such as

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Terry Reedy
On 7/7/2010 5:29 AM, geremy condra wrote: On Tue, Jul 6, 2010 at 1:37 AM, Terry Reedy wrote: On 7/5/2010 9:00 PM, Philip Semanchuk wrote: On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote: On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchu I ported two pure C extensions from 2 to 3 and was even

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread David Cournapeau
On Wed, Jul 7, 2010 at 10:55 PM, Carl Banks wrote: > On Jul 7, 1:31 am, Paul McGuire wrote: >> On Jul 6, 3:30 am, David Cournapeau wrote:> On Tue, Jul >> 6, 2010 at 4:30 AM, D'Arcy J.M. Cain wrote: >> >> > One thing that would be very useful is how to maintain something that >> > works on 2.x

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Carl Banks
On Jul 7, 2:10 pm, Brendan Abel <007bren...@gmail.com> wrote: > > > > One thing that would be very useful is how to maintain something that > > > > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > > > > versions below 2.6 is out of the question for most projects with a > > > > si

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Fuzzyman
On Jul 5, 1:34 am, sturlamolden wrote: > On 5 Jul, 01:58, John Nagle wrote: > > >      Exactly. > > >      The "incompatible with all extension modules I need" part > > is the problem right now.  A good first step would be to > > identify the top 5 or 10 modules that are blocking a move to > > Py

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread MRAB
geremy condra wrote: On Wed, Jul 7, 2010 at 8:26 PM, Brendan Abel <007bren...@gmail.com> wrote: On Jul 7, 3:00 pm, MRAB wrote: Brendan Abel wrote: One thing that would be very useful is how to maintain something that works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up versions b

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread geremy condra
On Wed, Jul 7, 2010 at 8:26 PM, Brendan Abel <007bren...@gmail.com> wrote: > On Jul 7, 3:00 pm, MRAB wrote: >> Brendan Abel wrote: >> One thing that would be very useful is how to maintain something that >> works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up >> version

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Brendan Abel
On Jul 7, 3:00 pm, MRAB wrote: > Brendan Abel wrote: > One thing that would be very useful is how to maintain something that > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > versions below 2.6 is out of the question for most projects with a > significant us

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread MRAB
Brendan Abel wrote: One thing that would be very useful is how to maintain something that works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up versions below 2.6 is out of the question for most projects with a significant userbase IMHO. As such, the idea of running the python 3 warni

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Brendan Abel
> > > One thing that would be very useful is how to maintain something that > > > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > > > versions below 2.6 is out of the question for most projects with a > > > significant userbase IMHO. As such, the idea of running the python 3 > >

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Carl Banks
On Jul 7, 1:31 am, Paul McGuire wrote: > On Jul 6, 3:30 am, David Cournapeau wrote:> On Tue, Jul > 6, 2010 at 4:30 AM, D'Arcy J.M. Cain wrote: > > > One thing that would be very useful is how to maintain something that > > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > > ve

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Roy Smith
In article <5325a$4c349b5b$4275d90a$27...@fuse.net>, Kevin Walzer wrote: > That's decision for each business to make. My guess is that many > businesses won't upgrade for some time, until the major > libraries/modules support Python 3. I don't plan to move to Python 3 for > at least a couple

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Kevin Walzer
On 7/2/10 3:07 PM, John Nagle wrote: That's the real issue, not parentheses on the "print" statement. Where's the business case for moving to Python 3? It's not faster. It doesn't do anything you can't do in Python 2.6. There's no "killer app" for it. End of life for Python 2.x is many years aw

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread geremy condra
On Tue, Jul 6, 2010 at 1:37 AM, Terry Reedy wrote: > On 7/5/2010 9:00 PM, Philip Semanchuk wrote: >> >> On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote: >> >>> On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchuk > I ported two pure C extensions from 2 to 3 and was even able to keep a single

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Paul McGuire
On Jul 6, 3:30 am, David Cournapeau wrote: > On Tue, Jul 6, 2010 at 4:30 AM, D'Arcy J.M. Cain wrote: > > One thing that would be very useful is how to maintain something that > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > versions below 2.6 is out of the question for most p

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Luis M . González
On Jul 2, 4:07 pm, John Nagle wrote: > David Cournapeau wrote: > > I think one point which needs to be emphasized more is what does > > python 3 bring to people. The" what's new in python 3 page" gives > > the impression that python 3 is about removing cruft. That's a very > > poor argument to pu

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread rantingrick
On Jul 6, 12:37 am, Terry Reedy wrote: > In his post on this thread, Martin Loewis volunteered to list what he > knows from psycopg2 if someone else will edit. Now we are getting somewhere! This is the community spirit i want to see. You don't have to give much people, every little bit counts. B

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Thomas Jollans
On 07/06/2010 07:17 PM, Terry Reedy wrote: > docs.python.org / dev/3.0/howto/cporting.html http://docs.python.org/py3k/howto/cporting.html -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Terry Reedy
On 7/6/2010 11:19 AM, Giampaolo Rodolà wrote: 2010/7/6 David Cournapeau: Or is there no change at the C level? That would make things easy. There are quite a few, but outside of the big pain point of strings/byte/unicode which is present at python level as well, a lot of the issues are not so

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Giampaolo Rodolà
2010/7/6 David Cournapeau : >> Or is there no change at the C level?  That would make things easy. > > There are quite a few, but outside of the big pain point of > strings/byte/unicode which is present at python level as well, a lot > of the issues are not so big (and even simpler to deal with). F

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Steven
On Jul 5, 2:56 am, John Nagle wrote: >     The Twisted team has a list of what they need: > > "http://stackoverflow.com/questions/172306/how-are-you-planning-on-han..."; Here's what I got from a quick google review of the below four projects and python 3. >      * Zope Interface Here's a blog fro

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread D'Arcy J.M. Cain
On Tue, 6 Jul 2010 16:30:34 +0800 David Cournapeau wrote: > One thing that would be very useful is how to maintain something that > works on 2.x and 3.x, but not limiting yourself to 2.6. Giving up > versions below 2.6 is out of the question for most projects with a Yes, PyGreSQL officially suppo

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread Stefan Behnel
Steven D'Aprano, 05.07.2010 08:31: On Sun, 04 Jul 2010 17:34:04 -0700, sturlamolden wrote: Using Python 2.x for new projects is not advisable (at least many will think so), and using 3.x is not possible. What to do? It's not a helpful situation for Python. That's pure FUD. Python 2.7 will be

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-06 Thread David Cournapeau
On Tue, Jul 6, 2010 at 4:30 AM, D'Arcy J.M. Cain wrote: > On Mon, 05 Jul 2010 14:42:13 -0400 > Terry Reedy wrote: >> Good start. Now what is blocking those four? >> Lack of developer interest/time/ability? >> or something else that they need? > > How about a basic how-to document?  I maintain PyG

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Terry Reedy
On 7/5/2010 9:00 PM, Philip Semanchuk wrote: On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote: On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchuk I ported two pure C extensions from 2 to 3 and was even able to keep a single C codebase. I'd be willing to contribute my experiences to a document s

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Philip Semanchuk
On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote: On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchuk wrote: On Jul 5, 2010, at 4:30 PM, D'Arcy J.M. Cain wrote: On Mon, 05 Jul 2010 14:42:13 -0400 Terry Reedy wrote: Good start. Now what is blocking those four? Lack of developer interest/time/ab

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Chris Rebert
On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchuk wrote: > On Jul 5, 2010, at 4:30 PM, D'Arcy J.M. Cain wrote: >> On Mon, 05 Jul 2010 14:42:13 -0400 >> Terry Reedy wrote: >>> Good start. Now what is blocking those four? >>> Lack of developer interest/time/ability? >>> or something else that they n

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Philip Semanchuk
On Jul 5, 2010, at 4:30 PM, D'Arcy J.M. Cain wrote: On Mon, 05 Jul 2010 14:42:13 -0400 Terry Reedy wrote: Good start. Now what is blocking those four? Lack of developer interest/time/ability? or something else that they need? How about a basic how-to document? I maintain PyGreSQL and would

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread John Nagle
On 7/5/2010 12:35 PM, Kevin Walzer wrote: On 7/5/10 2:56 AM, John Nagle wrote: * PyCrypto * PyOpenSSL These, and Mark Pilgrim's feedparser, need to be 3.x compatible before I can think about Python 3.x. There's been an attempt to port "feedparser" to 3.0, but that needed a port of Beaut

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Martin v. Loewis
Am 05.07.2010 22:30, schrieb D'Arcy J.M. Cain: > On Mon, 05 Jul 2010 14:42:13 -0400 > Terry Reedy wrote: >> Good start. Now what is blocking those four? >> Lack of developer interest/time/ability? >> or something else that they need? > > How about a basic how-to document? I maintain PyGreSQL and

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread D'Arcy J.M. Cain
On Mon, 05 Jul 2010 14:42:13 -0400 Terry Reedy wrote: > Good start. Now what is blocking those four? > Lack of developer interest/time/ability? > or something else that they need? How about a basic how-to document? I maintain PyGreSQL and would like to move it to 3.x right now but I don't even k

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Kevin Walzer
On 7/5/10 2:56 AM, John Nagle wrote: * PyCrypto * PyOpenSSL These, and Mark Pilgrim's feedparser, need to be 3.x compatible before I can think about Python 3.x. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Terry Reedy
On 7/5/2010 6:04 AM, David Cournapeau wrote: On Mon, Jul 5, 2010 at 12:44 PM, Terry Reedy wrote: [snip] I think numpy will work for 3.1 as well If numpy were released today for 3.1 (or even anytime before 3.2), that would be great. It would let those waiting for it that it is real and tha

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Terry Reedy
On 7/5/2010 2:56 AM, John Nagle wrote: On 7/4/2010 10:44 PM, Terry Reedy wrote: I you have any other ideas about other top blockers, please share them. The Twisted team has a list of what they need: "http://stackoverflow.com/questions/172306/how-are-you-planning-on-handling-the-migration-to

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread David Cournapeau
On Mon, Jul 5, 2010 at 12:44 PM, Terry Reedy wrote: > On 7/4/2010 7:58 PM, John Nagle wrote: > >> The "incompatible with all extension modules I need" part >> is the problem right now. A good first step would be to >> identify the top 5 or 10 modules that are blocking a move to >> Python 3 by majo

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Steven D'Aprano
On Sun, 04 Jul 2010 18:59:03 -0700, John Nagle wrote: > Denying that there's a problem does not help. Nobody is denying that there is a problem, but there are plenty of people denying that there are any solutions. The folks doing development of CPython are genuinely interested in constructive

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread John Nagle
On 7/4/2010 10:44 PM, Terry Reedy wrote: On 7/4/2010 7:58 PM, John Nagle wrote: The "incompatible with all extension modules I need" part is the problem right now. A good first step would be to identify the top 5 or 10 modules that are blocking a move to Python 3 by major projects with many use

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread Steven D'Aprano
On Sun, 04 Jul 2010 17:34:04 -0700, sturlamolden wrote: > Using Python 2.x for new > projects is not advisable (at least many will think so), and using 3.x > is not possible. What to do? It's not a helpful situation for Python. That's pure FUD. Python 2.7 will be supported longer than the normal

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread Terry Reedy
On 7/4/2010 7:58 PM, John Nagle wrote: The "incompatible with all extension modules I need" part is the problem right now. A good first step would be to identify the top 5 or 10 modules that are blocking a move to Python 3 by major projects with many users. Let me repeat. Last September, if no

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread rantingrick
On Jul 4, 8:59 pm, John Nagle wrote: > That's what happens when you > mismanage an incompatible transition. +1 >     Python has strong competition.  In the last two years, > Javascript has become much faster, PHP is getting a JIT compiler, > Lua, as recently mentioned, is getting up there with

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread John Nagle
On 7/4/2010 5:34 PM, sturlamolden wrote: On 5 Jul, 01:58, John Nagle wrote: Exactly. The "incompatible with all extension modules I need" part is the problem right now. A good first step would be to identify the top 5 or 10 modules that are blocking a move to Python 3 by major projects with

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread sturlamolden
On 5 Jul, 01:58, John Nagle wrote: >      Exactly. > >      The "incompatible with all extension modules I need" part > is the problem right now.  A good first step would be to > identify the top 5 or 10 modules that are blocking a move to > Python 3 by major projects with many users. The big da

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread Steven D'Aprano
On Sun, 04 Jul 2010 16:58:04 -0700, John Nagle wrote: > The "incompatible with all extension modules I need" part > is the problem right now. A good first step would be to identify the > top 5 or 10 modules that are blocking a move to Python 3 by major > projects with many users. Are you vo

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread John Nagle
On 7/4/2010 1:20 PM, sturlamolden wrote: On 2 Jul, 21:07, John Nagle wrote: http://jens.mooseyard.com/2008/12/python-30-whats-the-point/ He is right on. The only thing Python 3k will do for me, is break all my code and be incompatible with all extension modules I need. "What's the point?" in

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-04 Thread sturlamolden
On 2 Jul, 21:07, John Nagle wrote: > http://jens.mooseyard.com/2008/12/python-30-whats-the-point/ He is right on. The only thing Python 3k will do for me, is break all my code and be incompatible with all extension modules I need. "What's the point?" indeed. -- http://mail.python.org/mailman/

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-03 Thread Nobody
On Fri, 02 Jul 2010 12:07:33 -0700, John Nagle wrote: >> I think one point which needs to be emphasized more is what does >> python 3 bring to people. The" what's new in python 3 page" gives >> the impression that python 3 is about removing cruft. That's a very >> poor argument to push people to s

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread John Nagle
On 7/2/2010 9:10 PM, D'Arcy J.M. Cain wrote: On 2 Jul 2010 15:00:17 -0700 a...@pythoncraft.com (Aahz) wrote: 5. Get at least two major hosting services to put up Python 3. webfaction.com has python3.1 So does http://www.Vex.Net/ so there's your two. Not according to Vex's publishe

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread D'Arcy J.M. Cain
On 2 Jul 2010 15:00:17 -0700 a...@pythoncraft.com (Aahz) wrote: > >5. Get at least two major hosting services to put up Python 3. > > webfaction.com has python3.1 So does http://www.Vex.Net/ so there's your two. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.drui

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Terry Reedy
On 7/2/2010 3:07 PM, John Nagle wrote: That's the real issue, not parentheses on the "print" statement. Where's the business case for moving to Python 3? It's not faster. It doesn't do anything you can't do in Python 2.6. False. One cannot run code in 2.6 that depends on bugfixes in 3.1. Nor

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Aahz
In article <4c2e79d3$0$1663$742ec...@news.sonic.net>, John Nagle wrote: >On 7/2/2010 3:00 PM, Aahz wrote: >> In article<4c2e38f5.10...@animats.com>, John Nagle wrote: >>> >>> 5. Get at least two major hosting services to put up Python 3. >> >> webfaction.com has python3.1 > >Any use

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Shashwat Anand
On Sat, Jul 3, 2010 at 5:27 AM, Steven D'Aprano < st...@remove-this-cybersource.com.au> wrote: > On Fri, 02 Jul 2010 12:07:33 -0700, John Nagle wrote: > > > Where's the business case for moving to Python 3? It's not faster. It > > doesn't do anything you can't do in Python 2.6. There's no "kill

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Steven D'Aprano
On Fri, 02 Jul 2010 12:07:33 -0700, John Nagle wrote: > Where's the business case for moving to Python 3? It's not faster. It > doesn't do anything you can't do in Python 2.6. There's no "killer app" > for it. End of life for Python 2.x is many years away; most server Linux > distros aren't eve

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread John Nagle
On 7/2/2010 3:00 PM, Aahz wrote: In article<4c2e38f5.10...@animats.com>, John Nagle wrote: 5. Get at least two major hosting services to put up Python 3. webfaction.com has python3.1 WebFaction's big thing is that they have a really good system for installing anything the user want

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Aahz
In article <4c2e38f5.10...@animats.com>, John Nagle wrote: > >5. Get at least two major hosting services to put up Python 3. webfaction.com has python3.1 -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you don't know what your program is supposed to do,

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Carl Banks
On Jul 2, 12:07 pm, John Nagle wrote: >     This has all been said before. Yes, we know. And when no one did anything about it the first dozen times it's been said, it wasn't because we didn't hear it, it was because we didn't care. We still don't care now, and won't care no matter how many tim

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread Thomas Jollans
On 07/02/2010 09:07 PM, John Nagle wrote: > >What I'm not seeing is a deployment plan along these lines: > >1.Identify key modules which must be converted before Python 3 > can be used in production environments. That depends VERY strongly on the environment in question. > >

The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-02 Thread John Nagle
David Cournapeau wrote: I think one point which needs to be emphasized more is what does python 3 bring to people. The" what's new in python 3 page" gives the impression that python 3 is about removing cruft. That's a very poor argument to push people to switch. That's the real issue, not p

Re: I strongly dislike Python 3

2010-07-01 Thread Aahz
In article , geremy condra wrote: >On Wed, Jun 30, 2010 at 4:34 PM, Steven D'Aprano > wrote: >> On Wed, 30 Jun 2010 22:52:06 +1000, Lie Ryan wrote: >>> >>> That is precisely how the quick-and-dirty syntax of print statement can >>> be justified. While debugging, you'll need to be able to quickly

Re: I strongly dislike Python 3

2010-07-01 Thread Ricardo Aráoz
On 30/06/2010 01:23 p.m., Lie Ryan wrote: On 07/01/10 01:42, Michele Simionato wrote: On Jun 30, 2:52 pm, Lie Ryan wrote: On 06/27/10 11:24, Steven D'Aprano wrote: Producing print function takes a little bit more effort than producing a print statement. (1) The main use-cases for prin

Re: I strongly dislike Python 3

2010-07-01 Thread Lou Pecora
In article <3f35dcf5-25ff-4aa7-820c-592cbffa4...@u26g2000yqu.googlegroups.com>, rantingrick wrote: > On Jun 30, 4:21 pm, geremy condra wrote: > > > Actually, I agree with this complaint though- it is much easier to type > > spaces than parens. > > Oh Geremy please. If you're going to whine a

Solutions for hand injury from computer use (was: I strongly dislike Python 3)

2010-06-30 Thread Ben Finney
geremy condra writes: > > Right. I'm much more concerned about the position of my Ctrl key, to > > avoid hand injury from all the key chording done as a programmer. > > Not saying its a cure-all, but I broke my hand pretty badly a few years > ago and had a lot of luck with a homemade foot switch

Re: I strongly dislike Python 3

2010-06-30 Thread geremy condra
On Thu, Jul 1, 2010 at 1:02 AM, Ben Finney wrote: > Steven D'Aprano writes: > >> On Thu, 01 Jul 2010 13:13:53 +1000, Ben Finney wrote: >> >> > Steven D'Aprano writes: >> >> I suppose in principle those extra three key presses (shift-9 >> >> shift-0 vs space) could be the straw that breaks the ca

Re: I strongly dislike Python 3

2010-06-30 Thread Ben Finney
Steven D'Aprano writes: > On Thu, 01 Jul 2010 13:13:53 +1000, Ben Finney wrote: > > > Steven D'Aprano writes: > >> I suppose in principle those extra three key presses (shift-9 > >> shift-0 vs space) could be the straw that breaks the camel's back, > >> but I doubt it. > > > > There's also Fitt

Re: I strongly dislike Python 3

2010-06-30 Thread Steven D'Aprano
On Thu, 01 Jul 2010 13:13:53 +1000, Ben Finney wrote: > Steven D'Aprano writes: > >> But, honestly, is there anyone here, even the most heavy users of >> print, who would seriously expect that adding parentheses to print >> calls will do more than add a tiny fraction to the amount of typing >> e

Re: I strongly dislike Python 3

2010-06-30 Thread Ben Finney
Steven D'Aprano writes: > But, honestly, is there anyone here, even the most heavy users of > print, who would seriously expect that adding parentheses to print > calls will do more than add a tiny fraction to the amount of typing > effort already required to use Python? I suppose in principle th

Re: I strongly dislike Python 3

2010-06-30 Thread geremy condra
On Wed, Jun 30, 2010 at 10:06 PM, Steven D'Aprano wrote: > On Wed, 30 Jun 2010 18:57:58 -0400, geremy condra wrote: > Actually, I agree with this complaint though- it is much easier to type spaces than parens. >>> >>> Yes. And typing "p" is easier than typing "print". Perhaps we should >

Re: I strongly dislike Python 3

2010-06-30 Thread MRAB
John Nagle wrote: On 6/27/2010 1:09 PM, Martin v. Loewis wrote: I agree that there may be not much reason to port custom proprietary apps that are working fine and which would hardly benefit from, let alone need, and new Py3 features. In the long run, there will be a benefit: at some point in

Re: I strongly dislike Python 3

2010-06-30 Thread Stephen Hansen
On 6/30/10 6:48 PM, John Nagle wrote: The 10th anniversary of the announcement of PERL 6 is coming up on July 19th, and it still hasn't displaced PERL 5 as the "primary" version. Now, I may be totally off-base, because I do not grok perl and so have never made much of an effort to follow perl-

Re: I strongly dislike Python 3

2010-06-30 Thread Steven D'Aprano
On Wed, 30 Jun 2010 18:57:58 -0400, geremy condra wrote: >>> Actually, I agree with this complaint though- it is much easier to >>> type spaces than parens. >> >> Yes. And typing "p" is easier than typing "print". Perhaps we should >> replace all Python built-ins with one letter names so that we c

Re: I strongly dislike Python 3

2010-06-30 Thread John Nagle
On 6/27/2010 1:09 PM, Martin v. Loewis wrote: I agree that there may be not much reason to port custom proprietary apps that are working fine and which would hardly benefit from, let alone need, and new Py3 features. In the long run, there will be a benefit: at some point in the future (surely

Re: I strongly dislike Python 3

2010-06-30 Thread geremy condra
On Wed, Jun 30, 2010 at 8:25 PM, rantingrick wrote: > On Jun 30, 4:21 pm, geremy condra wrote: > >> Actually, I agree with this complaint though- it is much easier to type >> spaces than parens. > > Oh Geremy please. If you're going to whine about something at least > find something worth whining

Re: I strongly dislike Python 3

2010-06-30 Thread rantingrick
On Jun 30, 4:21 pm, geremy condra wrote: > Actually, I agree with this complaint though- it is much easier to type > spaces than parens. Oh Geremy please. If you're going to whine about something at least find something worth whining about! Yes a few more key strokes are needed. But print should

Re: I strongly dislike Python 3

2010-06-30 Thread ru...@yahoo.com
On Jun 30, 9:42 am, Michele Simionato wrote: > Actually when debugging I use pdb which uses "p" (no parens) for > printing, so having > print or print() would not make any difference for me. Perhaps you don't use CJK strings much? p u'\u30d1\u30a4\u30c8\u30f3' give quite a different result than

Re: I strongly dislike Python 3

2010-06-30 Thread Mark Lawrence
On 30/06/2010 23:30, Steven D'Aprano wrote: [snips] The rule against premature optimization doesn't just apply to *code*. +1QOTW Kindest regards. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: I strongly dislike Python 3

2010-06-30 Thread geremy condra
On Wed, Jun 30, 2010 at 6:30 PM, Steven D'Aprano wrote: > On Wed, 30 Jun 2010 17:21:32 -0400, geremy condra wrote: > >> On Wed, Jun 30, 2010 at 4:34 PM, Steven D'Aprano >> wrote: >>> On Wed, 30 Jun 2010 22:52:06 +1000, Lie Ryan wrote: >>> On 06/27/10 11:24, Steven D'Aprano wrote: >> > Pr

Re: I strongly dislike Python 3

2010-06-30 Thread Brian Blais
On Jun 30, 2010, at 8:52 , Lie Ryan wrote: On 06/27/10 11:24, Steven D'Aprano wrote: Producing print function takes a little bit more effort than producing a print statement. (1) The main use-cases for print are quick (and usually dirty) scripts, interactive use, and as a debugging aid.

Re: I strongly dislike Python 3

2010-06-30 Thread Steven D'Aprano
On Wed, 30 Jun 2010 17:21:32 -0400, geremy condra wrote: > On Wed, Jun 30, 2010 at 4:34 PM, Steven D'Aprano > wrote: >> On Wed, 30 Jun 2010 22:52:06 +1000, Lie Ryan wrote: >> >>> On 06/27/10 11:24, Steven D'Aprano wrote: > > Producing print function takes a little bit more effort than > >

Re: I strongly dislike Python 3

2010-06-30 Thread geremy condra
On Wed, Jun 30, 2010 at 4:34 PM, Steven D'Aprano wrote: > On Wed, 30 Jun 2010 22:52:06 +1000, Lie Ryan wrote: > >> On 06/27/10 11:24, Steven D'Aprano wrote: > Producing print function takes a little bit more effort than > producing a print statement. >>> >>> (1) The main use-cases for pr

Re: I strongly dislike Python 3

2010-06-30 Thread Steven D'Aprano
On Wed, 30 Jun 2010 22:52:06 +1000, Lie Ryan wrote: > On 06/27/10 11:24, Steven D'Aprano wrote: >>> > Producing print function takes a little bit more effort than >>> > producing a print statement. >> >> (1) The main use-cases for print are quick (and usually dirty) scripts, >> interactive use, an

Re: I strongly dislike Python 3

2010-06-30 Thread Stephen Hansen
On 6/30/10 9:22 AM, Lie Ryan wrote: On 07/01/10 01:30, Stephen Hansen wrote: On 6/30/10 5:52 AM, Lie Ryan wrote: On 06/27/10 11:24, Steven D'Aprano wrote: Producing print function takes a little bit more effort than producing a print statement. (1) The main use-cases for print are quick (and

Re: I strongly dislike Python 3

2010-06-30 Thread Lie Ryan
On 07/01/10 01:42, Michele Simionato wrote: > On Jun 30, 2:52 pm, Lie Ryan wrote: >> On 06/27/10 11:24, Steven D'Aprano wrote: >> > Producing print function takes a little bit more effort than producing a > print statement. >> >>> (1) The main use-cases for print are quick (and usually dir

Re: I strongly dislike Python 3

2010-06-30 Thread Lie Ryan
On 07/01/10 01:30, Stephen Hansen wrote: > On 6/30/10 5:52 AM, Lie Ryan wrote: >> On 06/27/10 11:24, Steven D'Aprano wrote: > Producing print function takes a little bit more effort than > producing a > print statement. >>> >>> (1) The main use-cases for print are quick (and usually dir

Re: I strongly dislike Python 3

2010-06-30 Thread Michele Simionato
On Jun 30, 2:52 pm, Lie Ryan wrote: > On 06/27/10 11:24, Steven D'Aprano wrote: > > >> > Producing print function takes a little bit more effort than producing a > >> > print statement. > > > (1) The main use-cases for print are quick (and usually dirty) scripts, > > interactive use, and as a debu

Re: I strongly dislike Python 3

2010-06-30 Thread Stephen Hansen
On 6/30/10 5:52 AM, Lie Ryan wrote: On 06/27/10 11:24, Steven D'Aprano wrote: Producing print function takes a little bit more effort than producing a print statement. (1) The main use-cases for print are quick (and usually dirty) scripts, interactive use, and as a debugging aid. That is pre

Re: I strongly dislike Python 3

2010-06-30 Thread Lie Ryan
On 06/27/10 11:24, Steven D'Aprano wrote: >> > Producing print function takes a little bit more effort than producing a >> > print statement. > > (1) The main use-cases for print are quick (and usually dirty) scripts, > interactive use, and as a debugging aid. That is precisely how the quick-and

Re: I strongly dislike Python 3

2010-06-29 Thread Steven D'Aprano
On Tue, 29 Jun 2010 18:56:37 +, Edward A. Falk wrote: > Nice. Once 100% of the installed base is at 2.6, I'll finally be able > to write code that compatible with 3.0. What's "the installed base"? Machines you control? Then just install 2.6 on your installed base and be done with it. Or ev

Re: I strongly dislike Python 3

2010-06-29 Thread geremy condra
On Tue, Jun 29, 2010 at 2:56 PM, Edward A. Falk wrote: > In article , > Stephen Hansen   wrote: >>> >>> Uhmm, just add the parenthesis to your old scripts. You can >>> do that without breaking on 2.x. >> >>Only sort of. But in Python 2.6+, you only need to "from __future__ >>import print_function"

Re: I strongly dislike Python 3

2010-06-29 Thread Edward A. Falk
In article , Stephen Hansen wrote: >> >> Uhmm, just add the parenthesis to your old scripts. You can >> do that without breaking on 2.x. > >Only sort of. But in Python 2.6+, you only need to "from __future__ >import print_function" to make code work in both 2.x and 3.x (at least >insofar as the

Re: I strongly dislike Python 3

2010-06-28 Thread Chris Rebert
On Mon, Jun 28, 2010 at 1:08 PM, Edward A. Falk wrote: > In article , > Stephen Hansen   wrote: >> >>No one said otherwise, or that print was useless and never used in such >>contexts. > > I was responding to the question "Also, do you use print *that* > much? Really?"  The implication being that

Re: I strongly dislike Python 3

2010-06-28 Thread Martin v. Loewis
> Until such time as 100% of the systems I might ever want to run my progams > on have python 3 installed, I cannot port my programs over from python 2. You don't have to port them from python 2, but still could it make easy to use them with Python 3: just arrange it so that 2to3 will correctly co

Re: I strongly dislike Python 3

2010-06-28 Thread geremy condra
On Mon, Jun 28, 2010 at 1:52 PM, Grant Edwards wrote: > On 2010-06-28, geremy condra wrote: >> On Mon, Jun 28, 2010 at 1:08 PM, Edward A. Falk wrote: >>> In article , >>> Stephen Hansen ? wrote: No one said otherwise, or that print was useless and never used in such contexts. >>> >>

Re: I strongly dislike Python 3

2010-06-28 Thread Robert Kern
On 6/28/10 3:09 PM, Edward A. Falk wrote: In article, Stephen Hansen wrote: Any other use, I basically operate on a file object. I use file objects all the time. I use print with them. The 2to3 conversion script takes care of this for you. [~]$ 2to3 foo.py RefactoringTool: Skipping impli

  1   2   >