Announcement

Collapse
No announcement yet.

Ubuntu 16.04 LTS Will Try To Be Python-3-Only, No Python 2 By Default

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • piotrek
    replied
    * Python 3 only on INSTALLATION MEDIA, this is a HUGE difference, python2.7 will still be available (for next 10 years or so)
    * Python 3 cannot be default because there's no Python default interpreter on Debian (and Ubuntu uses what Debian has) - Python 2.x and Python 3.X are two different languages in these distributions so one cannot replace another (to make it even clearer: /usr/bin/python WILL NEVER POINT TO Python 3.X on Debian/Ubuntu)
    Last edited by piotrek; 11-05-2015, 12:15 PM.

    Leave a comment:


  • ElectricPrism
    replied
    Ubuntu? Yeah I think i've heard of that somewhere, can't remember - oh well.

    Leave a comment:


  • leio
    replied
    Originally posted by armetuz View Post
    If you are a python developer please !!!!! use proper versioned shebang #!/usr/bin/pythonX
    No, please use better shebang, like #!/usr/bin/env python2 - so you don't force me to use the wrong interpreter path in my virtualenv. And then you hit that old ubuntu distribution user that didn't have those major version symlinks yet.

    Leave a comment:


  • armetuz
    replied
    Right move Ubuntu.

    For everyone else - python2 still be available in repos and easily installable. But developers need to use /usr/bin/python2 or /usr/bin/python3 to specify what exactly python version it needs.

    If you are a python developer please !!!!! use proper versioned shebang #!/usr/bin/pythonX

    Leave a comment:


  • dungeon
    replied
    So like Catalyst Control Center, Ubuntu Software Center will be dropped in favor of Gnome Software without Center...

    Centers are not popular anymore it seems

    Leave a comment:

Working...
X