By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,219 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,219 IT Pros & Developers. It's quick & easy.

Python 2.5 adoption

P: n/a
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?

Thanks,
Joseph
Jun 27 '08 #1
Share this Question
Share on Google+
19 Replies


P: n/a
On Apr 18, 1:08 pm, Joseph Turian <tur...@gmail.comwrote:
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?

Thanks,
Joseph
I think it depends more on what you want to do. If you're distributing
the software, you can just "freeze" it and make binaries and then it
doesn't matter. Or if you use Python at your business, you can do what
we do at my workplace: Put Python on the network and run all the
scripts from there.

Currently, we have 2.4 on our network, but I think we can upgrade it
to 2.5 without breaking anything. I develop in 2.5 and just put the
finished products on our network and they usually "just work". But I
have yet to find good use cases for some of the cool whizz-bang extras
of 2.5, so I haven't pushed for the network upgrade.

I hope to figure out when, where and how to use generators and
decorators at some point, but I just haven't gotten that far a long
yet, I guess.

Mike
Jun 27 '08 #2

P: n/a
Joseph Turian wrote:
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?
Desktop or server?

If server, check what the major Linux distros, like Fedora
Core, are shipping with.

Check major shared hosting providers to see what they're offering
to their customers as standard.

John Nagle
Jun 27 '08 #3

P: n/a
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
Jun 27 '08 #4

P: n/a
On Apr 18, 2:08*pm, Joseph Turian <tur...@gmail.comwrote:
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?
Perhaps you should ask the inverse question too: what 2.5 features do
you find so compelling that you are willing to break compatibility
with 2.4 ? FWIW, the only new 2.5 feature I have been using in
practice is the conditional expressions, and I could easily live
without them. 2.4 is still pretty decent, and a major upgrade from
2.3.

George
Jun 27 '08 #5

P: n/a
Joseph Turian <tu****@gmail.comwrites:
How widely adopted is python 2.5?
Impossible to answer in general, because there's no way of finding
out.
So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?
You might be able to get a more useful answer for your case if you
narrow down the sample set. How many of *your target users* don't
have, or would be unwilling to upgrade to, Python 2.5?

--
\ “God forbid that any book should be banned. The practice is |
`\ as indefensible as infanticide.” —Dame Rebecca West |
_o__) |
Ben Finney
Jun 27 '08 #6

P: n/a
Thomas Bellman <be*****@lysator.liu.sewrites:
For what it's worth, Fedora 8 has Python 2.5, RHEL 5 ships with
Python 2.4, and RHEL 4 has Python 2.3. Suse and Debian, I don't
know.
The current Debian "stable" branch (4.0r3, "etch", released
2008-02-17) has the 'python' package installing Python 2.4.4.
<URL:ftp://ftp.debian.org/debian/dists/stable/main/source/Sources.gz>

The current Debian "testing" branch ("lenny", the next in line for
release) has the 'python' package installing Python 2.4.5. It also has
Python 2.5.2, and before too long will be installing that as the
'python' package.
<URL:ftp://ftp.debian.org/debian/dists/testing/main/source/Sources.gz>

The current Debian "unstable" branch (never to be released, but a
staging area for new package versions) has the 'python' package
installing Python 2.5.2.
<URL:ftp://ftp.debian.org/debian/dists/unstable/main/source/Sources.gz>

--
\ "Pinky, are you pondering what I'm pondering?" "Umm, I think |
`\ so, Brain, but three men in a tub? Ooh, that's unsanitary!" -- |
_o__) _Pinky and The Brain_ |
Ben Finney
Jun 27 '08 #7

P: n/a
Ben Finney <bi****************@benfinney.id.auwrites:
Thomas Bellman <be*****@lysator.liu.sewrites:
For what it's worth, Fedora 8 has Python 2.5, RHEL 5 ships with
Python 2.4, and RHEL 4 has Python 2.3. Suse and Debian, I don't
know.

The current Debian "stable" branch (4.0r3, "etch", released
2008-02-17) has the 'python' package installing Python 2.4.4.

The current Debian "testing" branch ("lenny", the next in line for
release) has the 'python' package installing Python 2.4.5. It also has
Python 2.5.2, and before too long will be installing that as the
'python' package.

The current Debian "unstable" branch (never to be released, but a
staging area for new package versions) has the 'python' package
installing Python 2.5.2.
Much better than the URLs I gave to the raw data, here is the full
package information page for 'python-defaults'
<URL:http://packages.qa.debian.org/p/python-defaults.html>.

The section titled "Available versions" shows the current default
versions of Python in all currently-supported branches of Debian.

--
\ “Working out the social politics of who you can trust and why |
`\ is, quite literally, what a very large part of our brain has |
_o__) evolved to do.” —Douglas Adams |
Ben Finney
Jun 27 '08 #8

P: n/a
On Apr 18, 2:08 pm, Joseph Turian <tur...@gmail.comwrote:
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?

One possible barometer for the situation is what's the oldest version
of Python to have been supported in the most bug-fix releases?

....In which case you need to maintain backwards compatibility with
2.3.

(I bring this up to illustrate that if there are people clamoring for
a 2.3 updates, there are probably quite a few supporting 2.4 as well.)
Carl Banks
Jun 27 '08 #9

P: n/a
On Apr 19, 3:16 am, Joseph Turian <tur...@gmail.comwrote:
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
How about Java users? Jython was recently at 2.2 (still is for all I
know). I'm pleased they've got that far because I like to know that
my code can run under Java and I like generators.

My web host uses 1.5.2. That is painful.

If you're assuming your potential users already have 2.4 then the
chances are they'll have upgraded to 2.5 by the time you've finished
anyway.
Graham
Jun 27 '08 #10

P: n/a
On Apr 18, 2:16*pm, Joseph Turian <tur...@gmail.comwrote:
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
99% is a big percent. My 1% doesn't like something.
Jun 27 '08 #11

P: n/a
Joseph Turian wrote:
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
Then develop for 2.5 with an eye on what is to come this year in 2.6 with regard to already planned
deprecations.

- Paddy.
Jun 27 '08 #12

P: n/a
At 12:16 PM -0700 4/18/08, Joseph Turian wrote:
>Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
--
http://mail.python.org/mailman/listinfo/python-list
A few seconds after reading this, I read the announcement for pyspread.
Requirements? Python 2.5.

You might want to talk with the pyspread folks regarding their
decision to require 2.5.
http://pyspread.sourceforge.net

--Ray

--

Raymond Cote
Appropriate Solutions, Inc.
PO Box 458 ~ Peterborough, NH 03458-0458
Phone: 603.924.6079 ~ Fax: 603.924.8668
rgacote(at)AppropriateSolutions.com
www.AppropriateSolutions.com
Jun 27 '08 #13

P: n/a
Lie
On Apr 19, 1:08 am, Joseph Turian <tur...@gmail.comwrote:
How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.
There is another choice: Develop with future in mind because it's
possible that when you finished version 1, what seemed to be future
would become the present. This is especially if the project is big and
requires years to complete.

On Apr 19, 5:13 pm, Graham Breed <x31equse...@gmail.comwrote:
My web host uses 1.5.2. That is painful.
If them using 1.5.2 is painful for you ask the host to install
something newer (AFAIK it is possible to run several python versions
side-by-side) or prepare yourself to move to other host.
Jun 27 '08 #14

P: n/a
In article <23**********************************@t54g2000hsg. googlegroups.com>,
Joseph Turian <tu****@gmail.comwrote:
>
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.
Datapoint: my company still uses 2.3 and *might* upgrade to 2.4 and
later this year. Basically, any company with lots of servers has a good
chance to still be stuck with 2.2/2.3 (we only dropped 2.2 last fall).
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?
Jun 27 '08 #15

P: n/a
On Apr 21, 9:28*am, a...@pythoncraft.com (Aahz) wrote:
In article <23bf20ad-9996-4b79-97ef-7930a228c...@t54g2000hsg.googlegroups.com>,
Joseph Turian *<tur...@gmail.comwrote:
Basically, we're planning on releasing it as open-source, and don't
want to alienate a large percentage of potential users.

Datapoint: my company still uses 2.3 and *might* upgrade to 2.4 and
later this year. *Basically, any company with lots of servers has a good
chance to still be stuck with 2.2/2.3 (we only dropped 2.2 last fall).
--
Aahz (a...@pythoncraft.com) * * * * * <** * * *http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups? *
Different is a verbally atomic relation.
Jun 27 '08 #16

P: n/a
In article
<8f**********************************@m1g2000pre.g ooglegroups.com>,
ca********@gmail.com wrote:
On Apr 21, 9:28*am, a...@pythoncraft.com (Aahz) wrote:


Why is this newsgroup different from all other newsgroups? *

Different is a verbally atomic relation.

It's a Passover question.

--
-- Lou Pecora
Jun 27 '08 #17

P: n/a
On Apr 21, 12:59*pm, Lou Pecora <pec...@anvil.nrl.navy.milwrote:
In article
<8f3a768d-0b4c-4077-9aef-a66898882...@m1g2000pre.googlegroups.com>,

*castiro...@gmail.com wrote:
On Apr 21, 9:28*am, a...@pythoncraft.com (Aahz) wrote:
Why is this newsgroup different from all other newsgroups? *
Different is a verbally atomic relation.

It's a Passover question.
Did it Pass.
Jun 27 '08 #18

P: n/a
On Fri, 18 Apr 2008 12:49:25 -0700 (PDT), George Sakkis <ge***********@gmail.comwrote:
On Apr 18, 2:08*pm, Joseph Turian <tur...@gmail.comwrote:
>How widely adopted is python 2.5?

We are doing some development, and have a choice to make:
a) Use all the 2.5 features we want.
b) Maintain backwards compatability with 2.4.

So I guess the question is, does anyone have a sense of what percent
of python users don't have 2.5?

Perhaps you should ask the inverse question too: what 2.5 features do
you find so compelling that you are willing to break compatibility
with 2.4 ? FWIW, the only new 2.5 feature I have been using in
practice is the conditional expressions, and I could easily live
without them. 2.4 is still pretty decent, and a major upgrade from
2.3.
Another data point: I write some Python code in my work and some for
hobby/private use, and I am very happy with 2.3. List comprehensions
(or whatever they are called) and generators are the most recent
features I would hate living without.

OP: keep in mind that your users do not see any gain from you using
2.5. All they see is something that makes your software harder to
install. At some point you can dismiss them as living in the Stone Age,
but the Stone Age is currently 2.1 or something. Maybe 2.2 is, too.

/Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.se R'lyeh wgah'nagl fhtagn!
Jun 27 '08 #19

P: n/a
On Mon, Apr 21, 2008 at 1:49 PM, Jorgen Grahn <gr********@snipabacken.sewrote:
OP: keep in mind that your users do not see any gain from you using
2.5. All they see is something that makes your software harder to
install. At some point you can dismiss them as living in the Stone Age,
but the Stone Age is currently 2.1 or something. Maybe 2.2 is, too.
Except for the memory bug which 2.5 fixed (not giving memory back),
which in some cases with 2.4 could be a really large issue. But in
that case you get the benefit whether it was "coded for" 2.5 or not.
So it is still safest to develop for a lower common denominator. For
me, the best things about 2.5 were the memory fixes/performance, and
the inclusion of ctypes in the standard library. The language
upgrades are mostly corner cases. If I were the OP, and those corner
situations aren't too big of an issue, I would restrict my usage to
2.4 or even 2.3 to allow easier adoption of the software.
Jun 27 '08 #20

This discussion thread is closed

Replies have been disabled for this discussion.