You are not logged in.

#1 2009-09-02 21:42:39

majiq
Member
Registered: 2009-03-06
Posts: 259

Python

Hey all. This is really just to Allan, I suppose, but I thought this is nicer than an e-mail. Also, it lets others who have the same question get some knowledge too.

I was just wondering how the transition to python 3 is going. I was writing a script earlier with python 3.1 documentation (assuming - my bad), and then afterwards checked the installed version. Also, what about 3.1? Any ideas? Or updates to share?

Again, I would check the bug tracker, but unfortunately it's still not up.

Offline

#2 2009-09-02 22:00:30

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Python

Not quite sure what you are asking here but Python3 is in [community]

[root@caltasp ~]# pacman -Ss python3
community/python3 3.1.1-1
    Next generation of the python high-level scripting language

Offline

#3 2009-09-02 22:40:14

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Python

Both versions are in the repos.


neutral

Offline

#4 2009-09-02 23:15:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Python

The transition will probably not happen very soon....     Most packages are not quite clever enough to build against a "python2" binary and adjust the "/usr/bin/env python" lines accordingly.  That only requires a simple sed, but there are a lot of packages requiring it...

At the moment, the only major toolkit supporting python3 is pyqt and none of its major applications (read KDE) do.  So I judge there is no rush for the transition at the moment (and I have a couple of large rebuilds in the future anyway....  libldap and a new heimdal release).

Edit: here is a link showing how much work this transition is going to be: http://wiki.archlinux.org/index.php/Dev … transition

Offline

#5 2009-09-03 04:27:45

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Python

Hehe, Python 3.

I have five python interpreters installed on my laptop right now, and thinking of adding a sixth... am I crazy?

Dusty

Offline

#6 2009-09-03 06:37:58

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: Python

@ghosthack and sandman: It didn't occur to me while reading the output of pacman -Ss python that 3 comes after -. My bad. Also, in an old thread I read Allan's original idea of having python be python 3.0 and python2 be a separate package (I think that's what it was), so I was just wondering what had actually come of that.

@Allan: Thanks for the update.

@Dusty: ...

Offline

#7 2009-09-03 08:52:14

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Python

Dusty wrote:

Hehe, Python 3.

I have five python interpreters installed on my laptop right now, and thinking of adding a sixth... am I crazy?

Dusty

Yes, yes, you are. tongue


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB