473,383 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Python 2.5 adoption

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
19 1196
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: Catalin | last post by:
Can Python replace PHP? Can I use a python program to make an interface to a mysql 4.X database? If that's possible where can I find a tutorial?
10
by: Barry A. Warsaw | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3 (final). Nineteen months in the making, Python 2.3 represents a commitment to...
0
by: Emile van Sebille | last post by:
QOTW (advanced interfaces track): "I'm firmly in favour of any language that can DWIMNWIS." -- Tim Delaney QOTW (MS roadkill track): "Underestimate MS at your own risk. It is one thing to not...
0
by: Cameron Laird | last post by:
QOTW: "They say that when you have a hammer, everything looks like a nail. When using Python, most everything /is/ a nail." -- Josiah Carlson "This is the main reason I stick to Tkinter. I've...
0
by: Cameron Laird | last post by:
QOTW: "I think the best way of lobbying for Python adoption is to write good software with Python." -- Jarek Zgoda "The biggest problem I have now is convincing people that just because...
18
by: kk | last post by:
I read this mailing list fairly often, and I am always amazed at what I learn (even not related to Python). I am relatively new to Python. I make my living developing mostly in Java. Python was a...
31
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is...
13
by: Eric Pederson | last post by:
Raise your hand if you think the best technology wins! For those of you with your hands in the air, tell me: if Python is so good,why has PHP achieved such greater adoption and mindshare? Why...
34
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.