Coder Social home page Coder Social logo

Kill Python 2 support about foolbox HOT 4 CLOSED

bethgelab avatar bethgelab commented on May 23, 2024
Kill Python 2 support

from foolbox.

Comments (4)

jonasrauber avatar jonasrauber commented on May 23, 2024 1

@impredicative I am very sympathetic to your cause. Personally, I write code that only works with Python 3.6 and above because it's so much nicer, and in fact, we originally implemented Foolbox for Python 3 only. Given that Python 2.7 will still be maintained until 2020 and many people and projects (see for example @ducha-aiki 's comment) still use Python 2.7, we decided to backport Foolbox to Python 2.7 so that Foolbox can be used by anyone. I am sure we will drop Python 2.7 support in the future and I am very much looking forward to it.

I will close this issue because it's not the agenda right now, but additional comments are appreciated.

from foolbox.

wielandbrendel avatar wielandbrendel commented on May 23, 2024 1

@impredicative I am also sympathetic to your issue but we should keep in mind that Foolbox is a small package that will hardly make people switch to Python 3 (instead Foolbox would loose a lot of users). Such traction should come from larger and more popular packages like numpy or pandas. If they'd turn Python 3 only - which they will in 2020 - then many people would switch.

from foolbox.

ducha-aiki avatar ducha-aiki commented on May 23, 2024

@impredicative

  1. Why should I move?
  2. Google Brain (!) in their started kit code for Kaggle NIPS competition use python 2
    https://www.kaggle.com/c/nips-2017-defense-against-adversarial-attack/data
    and you tell people not to. Really?

from foolbox.

ducha-aiki avatar ducha-aiki commented on May 23, 2024

The unfortunately reality is that others won't move to Python 3 unless you force them to by breaking compatibility with Python 2.

@impredicative or people just drop a package, for example and switch to more friendly

from foolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.