Giter Site home page Giter Site logo

Comments (4)

eugvas avatar eugvas commented on September 22, 2024

hi Pavadol,
thanks for reporting, indeed, example_actions_nbody.py needs a small modification – will do in the next commit.
as for f-strings, they are not available in older versions of Python, and I am determined to maintain compatibility with Python 2 as long as there is at least one user of it (i.e. myself), so this won't fly. The other option is to use the "%s".format(x) syntax, which is universally supported, but since the %-operator for strings is not going to be deprecated any time soon, I'd consider this conversion a low-priority task.
More pressing is the forthcoming deprecation of distutils, which are heavily used in the setup script – will need to check if setuptools can do the same job..

from agama.

pavyamsiri avatar pavyamsiri commented on September 22, 2024

Thanks for responding. Just curious, when do you think the next commit will be pushed?

It makes sense to keep compatibility with Python 2 especially if you are using it.

Should I close this issue now or close it when the commit gets pushed?

from agama.

eugvas avatar eugvas commented on September 22, 2024

fair enough, the last commit was more than 7 months ago! I was waiting for something more substantial to come up, but then recalled that I already had a new example script to be included in the repo, as well as a few minor changes elsewhere. So the corrected example_actions_nbody.py is now in.

from agama.

pavyamsiri avatar pavyamsiri commented on September 22, 2024

Thanks! I'll close the issue now.

from agama.

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.