Giter Club home page Giter Club logo

Comments (2)

dayr avatar dayr commented on August 28, 2024

I don't think we've run into that problem much here, but problems with
people using their own python builds have surfaced from time to time. I
also don't think we have any plans to switch to python 3 as our default any
time soon, but I'll double check on that. If it's possible to write give to
be compatible with 2 and 3, that seems like the best course. I don't have
any feel for how much effort that would require though.

Ryan

On Wed, Mar 9, 2016 at 10:29 AM, Dominic Manno [email protected]
wrote:

Need to address python3. Either explicitly require python2, print a
friendly message, and exit or make give.py python3 compatible.

Currently, for a user with python3 in their env, give crashes at the print
and produces a syntax error.

@dayr https://github.com/dayr has this come up as an issue at LLNL?
@jgreen https://github.com/jgreen @dayr https://github.com/dayr any
preference on implementation?

I will merge Ryan's previous changes into master. If we switch to python3
compatibility, we should branch and version up. If we explicitly require
python 2, we should minor version up.


Reply to this email directly or view it on GitHub
#1.

from give.

dmanno avatar dmanno commented on August 28, 2024

I've converted the give.py.in code to python3. It was mostly making print calls to be a function call. There was one minor change that I'm still investing. I will test thoroughly using python2 and 3 on a TOSS cluster here at lanl. If it builds and runs fine, I will roll a new rpm for toss and submit a pull request.

from give.

Related Issues (4)

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.