Announcement

Collapse
No announcement yet.

Fedora 31 To Start Removing Python2-Only Packages & Other Changes Approved

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

  • Fedora 31 To Start Removing Python2-Only Packages & Other Changes Approved

    Phoronix: Fedora 31 To Start Removing Python2-Only Packages & Other Changes Approved

    At Monday's weekly Fedora Engineering and Steering Committee (FESCo) meeting, a number of changes pertaining to Fedora 31 were approved...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    packages that still depend on Python 2 if it looks like they won't be ported soon to Python 2
    I think you meant 3.

    Comment


    • #3
      Use 2to3 to automatically port your Python 2 scripts to Python 3.
      Another good read for Python developers is PEP-8.
      Last edited by uid313; 09 April 2019, 05:30 AM.

      Comment


      • #4
        Originally posted by uid313 View Post
        Use 2to3 to automatically port your Python 2 scripts to Python 3.
        In case the most up-to-date doc is needed instead, use 3 instead of 3.1: https://docs.python.org/3/library/2to3.html

        Comment


        • #5
          Originally posted by uid313 View Post
          Use 2to3 to automatically port your Python 2 scripts to Python 3.
          lol...

          Comment


          • #6
            Finally, the days of python confusion are about to be over. Nuke it from orbit.

            Comment


            • #7
              Originally posted by cen1 View Post
              Finally, the days of python confusion are about to be over. Nuke it from orbit.
              Until Python 4 that is... 🤣

              Comment


              • #8
                I'm glad that other languages avoid this mess. For example, no C++98 packages ever need to be removed

                Comment


                • #9
                  Originally posted by kpedersen View Post
                  I'm glad that other languages avoid this mess. For example, no C++98 packages ever need to be removed
                  Until the compiler removes C++98 deprecated features and the code stops compiling altogether, that is

                  Comment


                  • #10
                    Originally posted by uid313 View Post
                    Until Python 4 that is... 🤣

                    Comment

                    Working...
                    X