Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python 3.1 is stable?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
meteozwh
n00b
n00b


Joined: 27 May 2003
Posts: 38

PostPosted: Thu May 27, 2010 1:41 am    Post subject: Python 3.1 is stable? Reply with quote

As title.

Is it safe to upgrade to python 3.1?
Back to top
View user's profile Send private message
meteozwh
n00b
n00b


Joined: 27 May 2003
Posts: 38

PostPosted: Thu May 27, 2010 2:37 am    Post subject: Reply with quote

OK

I just find there is a piece of news about it.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Thu May 27, 2010 3:02 am    Post subject: Reply with quote

Indeed, it's there but, I don't use it on my box.
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7889
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu May 27, 2010 12:30 pm    Post subject: Reply with quote

What news are you referring to?
Code:
ceres ~ # equery list -p -e python
[ Searching for package 'python' in all categories among: ]
 * installed packages
[I--] [  ] dev-lang/python-2.6.4-r1 (2.6)
 * Portage tree (/usr/portage)
[-P-] [  ] dev-lang/python-2.4.6 (2.4)
[-P-] [  ] dev-lang/python-2.5.4-r4 (2.5)
[-P-] [M~] dev-lang/python-2.6.5-r2 (2.6)
[-P-] [M~] dev-lang/python-3.1.2-r3 (3.1)
Still masked as of this AM.

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1554
Location: Just over the horizon

PostPosted: Thu May 27, 2010 12:32 pm    Post subject: Reply with quote

It was put into stable yesterday. It's slotted though, so as long as you don't make it your system python interpreter, it should be fine.

Code:

eix dev-lang/python
[I] dev-lang/python
     Available versions: 
        (2.4)   2.4.6
        (2.5)   2.5.4-r4
        (2.6)   2.6.4-r1 2.6.5-r2
        (3.1)   3.1.2-r3
        {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml}                                 
     Installed versions:  2.6.5-r2(2.6)(11:07:44 AM 05/22/2010)(berkdb doc gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -examples -wininst) 3.1.2-r3(3.1)(05:26:33 AM 05/27/2010)(doc gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -examples -wininst)                         
     Homepage:            http://www.python.org/
     Description:         Python is an interpreted, interactive, object-oriented programming language.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7889
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu May 27, 2010 1:47 pm    Post subject: Reply with quote

Okay. Must not've made it to all the mirrors yet as I sync'd right before I posted.

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2475
Location: Dallas area

PostPosted: Thu May 27, 2010 4:17 pm    Post subject: Reply with quote

It showed up for me on the daily sync, I masked it and decided to check the forum for any problems before installing it.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2010)
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2652

PostPosted: Thu May 27, 2010 6:43 pm    Post subject: Reply with quote

I let it go on this morning, seeing that it showed up as "NS" and I remembered seeing something about "eselect python". I figured that like gcc, it would install and be available, but not defaulted.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
meteozwh
n00b
n00b


Joined: 27 May 2003
Posts: 38

PostPosted: Fri May 28, 2010 12:38 am    Post subject: Reply with quote

Here is the gentoo news, just do as it says will be ok:

# eselect news read 10
2010-03-25-python-3.1
Title Python 3.1
Author Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org>
Posted 2010-03-25
Revision 1

Python 3 is a new major version of Python and is intentionally incompatible
with Python 2. Many external modules have not been ported yet to Python 3,
so Python 2 still needs to be installed. You can benefit from having Python 3
installed without setting Python 3.1 as main active version of Python.
Currently you should not set Python 3.1 as main active version of Python.
When setting it becomes recommended, a separate news item will be created
to notify users.

Although Python 3.1 should not be set as main active version of Python,
you should run python-updater after installation of Python 3.1. By default,
modules that support both Python 2 and Python 3 are installed for both
the active version of Python 2 and the active version of Python 3 when both
Python 2 and Python 3 are installed.

It is recommended to use a UTF-8 locale to avoid potential problems. Especially
C and POSIX locales are discouraged. If locale has not been explicitly set,
then POSIX locale is used, so you should ensure that locale has been set.
Problems occurring only with non-UTF-8 locales should be reported directly
to upstream developers of given packages.
See http://www.gentoo.org/doc/en/utf-8.xml for more information about UTF-8.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum