Code Monkey home page Code Monkey logo

Comments (7)

dirkroorda avatar dirkroorda commented on June 13, 2024

As far as I can see, removeprefix does not occur anymore in Text-Fabric.
In the commit you mention, removepreifx is not introduced but it is deleted from the code, precisely for the reason you mention.

from text-fabric.

jamespstrachan avatar jamespstrachan commented on June 13, 2024

from text-fabric.

dirkroorda avatar dirkroorda commented on June 13, 2024

I'll see what I can do.
No doubt it will be possible, and not too much work.
Monday hopefully.

from text-fabric.

dirkroorda avatar dirkroorda commented on June 13, 2024

I need to check the following not to occur in the code:

  • the walrus operator :=
  • self documenting f-strings =}

And then I can lower the requirements to 3.7, or even to 3.6.3 as it was before.
Clearly it was a bad idea to just bump that version number unilaterally.

from text-fabric.

dirkroorda avatar dirkroorda commented on June 13, 2024

@jamespstrachan I just uploaded a new version of Text-Fabric, 8.5.13, with no changes except that the Python version requirement is back to 3.6.3.

from text-fabric.

jamespstrachan avatar jamespstrachan commented on June 13, 2024

Thanks Dirk!

I would understand if you wanted to use the syntactic niceness of walrus and f-strings, but until you feel the urge I'm happy that you keep the requirements as low as actually needed. Am happy to try to pull versions up at this end if you plan to go this way in future.

from text-fabric.

dirkroorda avatar dirkroorda commented on June 13, 2024

Yes indeed, James.
I see very little use for the walrus operator.
Maybe in notebooks and other end-of-the-chain software, but not in packages and modules.
It is my intention keep the requirement at 3.6.3 for the foreseeable future.
By the way, the f-strings are already in 3.6, but not yet the {expression=} construct. And that is primarily a debugging device. Not really needed in a package either.

from text-fabric.

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.