• meme_historian@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 hours ago

    And the cowards still didn’t implement Pi as a constant out of the box!

    Still gotta do

    import math
    
    math.pi
    

    Like someone who’s got time to type like 17 extra characters 😤

    • AnyOldName3@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      7 hours ago

      It’ll be maintained for a while, so we might get to 3.14.15 or 3.14.16, which will be a better approximation and better because of more bugfixes.

      • Rhaedas@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        I prefer floor().

        I thought .15, but I can’t say I’ve even seen that many revisions at that level normally. I knew someone would round up in a comment after a posted. lol

  • Zagorath@aussie.zone
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    7 hours ago
    Transcription

    A picture of a man with safety goggles on carefully looking into a test tube of green liquid. The liquid is labelled:

    Python 3.14.0

    Release Date: Oct. 7, 2025

    And the picture is captioned:

    Finally

    π-thon

    • OpenStars@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      Your spoiler text got messed up there since the last “:::” is treated as being still within the quote block. You might need an extra newline above it for separation. I hope this helps rather than being pedantic & annoying?

      • Zagorath@aussie.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        Interesting. What client are you using? It displays fine for me in lemmy-ui (the default Lemmy web app).

        I hope this helps rather than being pedantic & annoying?

        Absolutely it does! Unfortunately Lemmy and Piefed clients are…inconsistent, at best, when it comes to how some of the finer points of syntax get parsed. Spoiler text is among the worst contenders, because of how non-standard the syntax is (second-worst contender: superscript & subscript). I’ll try adding in the newlines and hopefully it won’t cause any extra problems, but I can’t guarantee it’ll help.

        • OpenStars@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          Yes interesting indeed! I am using PieFed’s standard browser UI, in Firefox on Android, which I had thought they had standardized to match Lemmy’s spoiler handling but apparently we found a niche case where they differ.

          Your edited text now renders perfectly for me, so yes that seems to have been the source of the discrepancy. Agreed that particularly the apps render all sorts of things willy-nilly, though I suppose it is good to have choices! (And yet I prefer the web browser that actually works on PieFed to an app that currently would miss so many features, which the API is still being expanded to be able to handle).

          Thank you for your continual kindness and consideration in commenting:-).