GithubHelp home page GithubHelp logo

Comments (7)

dkgi avatar dkgi commented on April 25, 2024

We support parsing of the annotations but supporting 2.7 is an explicit non-goal. We should definitely put that in the documentation. Thanks for pointing it out.

from pyre-check.

dkgi avatar dkgi commented on April 25, 2024

Made the "Python 3" explicit on our front-page: https://pyre-check.org/

from pyre-check.

drvink avatar drvink commented on April 25, 2024

Could you elaborate on why it is an "explicit non-goal"? Would a PR be accepted that added support? I'm afraid that in 2018 there continues to be "the Python people actually use" and "the Python they want you to use", especially given the many programs that embed or otherwise use Python 2.7 as an extension language.

from pyre-check.

gvanrossum avatar gvanrossum commented on April 25, 2024

You could use mypy instead. It works great for Python 2 and 3. :-)

from pyre-check.

drvink avatar drvink commented on April 25, 2024

Yes, I know :) But it would be nice to have multiple options!

from pyre-check.

dark avatar dark commented on April 25, 2024

@drvink Supporting Python 2 is not just adding new code via a PR. It is also requires maintenance, testing, support and infrastructure.
Since we are a small team, we need to focus on the goals that are most important for us.
Python 2 will reach EOL sometime in 2020; hence, the long-term goals for Pyre are focused on working with Python 3 codebases, for the purpose of supporting deeper static analysis tools, as more deeply presented at our talk at PyCon: https://www.youtube.com/watch?v=hWV8t494N88 .

from pyre-check.

drvink avatar drvink commented on April 25, 2024

Thanks; that's a much better answer.

from pyre-check.

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.