FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Portage Developer

 
 
LinkBack Thread Tools
 
Old 11-08-2011, 11:38 PM
Pacho Ramos
 
Default Is portage faster when using python3?

Reading:
http://en.gentoo-wiki.com/wiki/Portage_tips#Portage_and_python3

Looks like some people think portage is faster with python3, is that
true? I have python3 set as main interpreter (for catching packages
failing to build/work with it), but my portage is merged without any
python* USE flag, I guess, it's still using python2, no?

If it's faster really, is python3 safe to use with portage or it's only
offered for testing purposes?

Thanks for the info
 
Old 11-09-2011, 12:53 AM
Zac Medico
 
Default Is portage faster when using python3?

On 11/08/2011 04:38 PM, Pacho Ramos wrote:
> Reading:
> http://en.gentoo-wiki.com/wiki/Portage_tips#Portage_and_python3
>
> Looks like some people think portage is faster with python3, is that
> true?

Maybe. You'd hope that python3 would be more optimized, since presumably
the code is being more actively worked on than python2.

> I have python3 set as main interpreter (for catching packages
> failing to build/work with it), but my portage is merged without any
> python* USE flag, I guess, it's still using python2, no?

By default, portage uses your default interpreter, so you're already
using python3.

> If it's faster really, is python3 safe to use with portage or it's only
> offered for testing purposes?

Nowadays, it should be about as safe as python2. The only difference
that I'm aware of is that with python3 we forcefully convert elog mails
to ascii in order to avoid encoding errors in python's smtplib module.

> Thanks for the info
--
Thanks,
Zac
 
Old 11-09-2011, 09:34 AM
Pacho Ramos
 
Default Is portage faster when using python3?

El mar, 08-11-2011 a las 17:53 -0800, Zac Medico escribió:
> On 11/08/2011 04:38 PM, Pacho Ramos wrote:
> > Reading:
> > http://en.gentoo-wiki.com/wiki/Portage_tips#Portage_and_python3
> >
> > Looks like some people think portage is faster with python3, is that
> > true?
>
> Maybe. You'd hope that python3 would be more optimized, since presumably
> the code is being more actively worked on than python2.
>
> > I have python3 set as main interpreter (for catching packages
> > failing to build/work with it), but my portage is merged without any
> > python* USE flag, I guess, it's still using python2, no?
>
> By default, portage uses your default interpreter, so you're already
> using python3.
>
> > If it's faster really, is python3 safe to use with portage or it's only
> > offered for testing purposes?
>
> Nowadays, it should be about as safe as python2. The only difference
> that I'm aware of is that with python3 we forcefully convert elog mails
> to ascii in order to avoid encoding errors in python's smtplib module.
>
> > Thanks for the info

Fine, I am already using it with python3 as it's my main interpreter now

Best regards
 

Thread Tools




All times are GMT. The time now is 03:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org