Will the Trisquel 8 ISOs ship with Python 3 as the default?

4 respuestas [Último envío]
t3g
t3g
Desconectado/a
se unió: 05/15/2011

http://phoronix.com/scan.php?page=news_item&px=Ubuntu-D-Still-Has-Python2

It seems that Ubuntu 16.04 (for which Trisquel 8 is based on) will use Python 3 for the default and is looking to not have Python 2 included with the ISOs. The last snag seems to be a Samba printer issue where the software is tied to Python 2 if you want to detect Windows printers on a default install.

Since Trisquel uses Python, is it safe to say that the custom code will work fine with just Python 3 or will Python 2 still need to be there by default?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

It depends on the programs chosen for the default system. If none of them requires Python 2, then I guess it will not be installed by default.

onpon4
Desconectado/a
se unió: 05/30/2012

Python 3 is great, but I honestly don't understand why this is a news item. For most users, the removal of Python 2 from the default installation will have no discernible effect, and any discernable effect seen would be negative, not positive. Python 2 and Python 3 have no trouble co-existing.

t3g
t3g
Desconectado/a
se unió: 05/15/2011

Canonical has been wanting Python 3 to be the default as some of the newer software has been converted from Python 2.

onpon4
Desconectado/a
se unió: 05/30/2012

What do you mean by "default"? Some distros have made the binary called "python" point to Python 3, but the developers of Python actively discourage this. Pretty much all programs indicating just "python" in the shebang are meant to be used with Python 2.

Anyway, they're just talking about whether or not Python 2 is installed by default.