[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Have you embraced Python 3.x yet?

Harishankar

3/26/2010 1:23:00 PM

Have you people embraced Python 3.x or still with 2.5 or 2.6?

I personally want to switch over but not too sure how many people are
using 3.x as opposed to 2 so I want to keep my programs compatible for
the majority.

-- Hari
11 Answers

Alex Hall

3/26/2010 1:29:00 PM

0

Because of compatibility, and many modules being built for 2.6 only, I
am still on 2.6.4 (updating to .5 soon).

On 3/26/10, Harishankar <v.harishankar@gmail.com> wrote:
> Have you people embraced Python 3.x or still with 2.5 or 2.6?
>
> I personally want to switch over but not too sure how many people are
> using 3.x as opposed to 2 so I want to keep my programs compatible for
> the majority.
>
> -- Hari
> --
> http://mail.python.org/mailman/listinfo/p...
>


--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; http://www.facebook.c...

Neil Cerutti

3/26/2010 1:35:00 PM

0

On 2010-03-26, Harishankar <v.harishankar@gmail.com> wrote:
> Have you people embraced Python 3.x or still with 2.5 or 2.6?
>
> I personally want to switch over but not too sure how many
> people are using 3.x as opposed to 2 so I want to keep my
> programs compatible for the majority.

I switched 6 months ago, or so. My library needs are met by
what's in CPython, so I couldn't see, at the time, a good reason
to sit still.

My programs didn't take much effort to convert. They are nearly
all data conversion programs. Microsoft rendering the one outside
module I did use, an Excel reader, obsolete caused me a lot more
trouble than switching from 2.5 to 3.1.

Past advice in this forum has been that as long as you don't
depend on libraries that don't yet support Python 3, you can
probably switch over and not need to look back.

--
Neil Cerutti

Kevin Walzer

3/26/2010 2:28:00 PM

0

On 3/26/10 9:23 AM, Harishankar wrote:
> Have you people embraced Python 3.x or still with 2.5 or 2.6?
>
> I personally want to switch over but not too sure how many people are
> using 3.x as opposed to 2 so I want to keep my programs compatible for
> the majority.
>
> -- Hari

Not yet. Some key libraries I am using for apps under development
haven't been ported to support 3.x yet (feedparser, pycrypto).

--
Kevin Walzer
Code by Kevin
http://www.codeb...

Gnarlodious

3/26/2010 2:31:00 PM

0

I have been using Py3 since October, I switched over for the
OrderedDict feature. Some parts are a little hard to get used to, but
others are easier. I am doing web programming, so the UTF 8 default is
a big improvement.

-- Gnarlie

John Doe

3/26/2010 5:39:00 PM

0

On Fri, 26 Mar 2010 13:23:25 +0000, Harishankar wrote:

> Have you people embraced Python 3.x or still with 2.5 or 2.6?

Still with 2.6, and probably will be indefinitely.

I use Python mostly for Unix scripting: the kind of task which would
traditionally have used Bourne shell. For that purpose, life is much
simpler when everything is byte strings rather than character strings.

If I was doing the same thing on Windows, Python 3.x would probably make
more sense, as all of the OS APIs use Unicode (although there's still a
hell of a lot of software written using the "ANSI" interfaces; my
AppLocale folder has over a hundred entries).

Mensanator

3/26/2010 8:08:00 PM

0

On Mar 26, 8:23 am, Harishankar <v.harishan...@gmail.com> wrote:
> Have you people embraced Python 3.x or still with 2.5 or 2.6?

3.1.

The only module I use regularly is gmpy and that's one that has
been updated.

Terry Reedy

3/26/2010 11:43:00 PM

0

On 3/26/2010 9:23 AM, Harishankar wrote:
> Have you people embraced Python 3.x?

Yes. My current work only needs the stdlib and I much prefer the
streamlined language.

geremy condra

3/27/2010 12:33:00 AM

0

On Fri, Mar 26, 2010 at 9:23 AM, Harishankar <v.harishankar@gmail.com> wrote:
> Have you people embraced Python 3.x or still with 2.5 or 2.6?
>
> I personally want to switch over but not too sure how many people are
> using 3.x as opposed to 2 so I want to keep my programs compatible for
> the majority.
>
> -- Hari
> --
> http://mail.python.org/mailman/listinfo/p...
>

Yes- I write new code in 3.x and backport it PRN.

Geremy Condra

David Cournapeau

3/29/2010 10:07:00 AM

0

On Sat, Mar 27, 2010 at 5:26 AM, Chris Colbert <sccolbert@gmail.com> wrote:

>
> I won't switch until NumPy and SciPy make the jump.

We're almost there, though (mostly thanks to other people's work on Numpy):

http://github.com/cournape/scipy3/bra...

David

Ben Finney

3/29/2010 12:43:00 PM

0

David Cournapeau <cournape@gmail.com> writes:

> On Sat, Mar 27, 2010 at 5:26 AM, Chris Colbert <sccolbert@gmail.com> wrote:
> > I won't switch until NumPy and SciPy make the jump.
>
> We're almost there, though (mostly thanks to other people's work on
> Numpy):
>
> http://github.com/cournape/scipy3/bra...

Are you maintaining separate parallel Python 3 versus Python 2 code
bases? If not, what are you doing in that regard?

--
\ â??The most common way people give up their power is by thinking |
`\ they don't have any.â? â??Alice Walker |
_o__) |
Ben Finney