social.dk-libre.fr is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #python

[?]Trey Hunner 🐍 » 🌐
@treyhunner@mastodon.social

Python Tip #134 (of 365):

Use looping helpers

Python's "for" loops are simple: they loop over an iterable one item at a time.

That's all they can do.

Because our "for" loops are so simple and iterable-centric, looping helpers are a VERY big deal in Python.

We use enumerate to count upward while looping, reversed to loop in the reverse direction, and zip to loop over multiple iterables at the same time.

🧵 (1/2)

    [?]Ngazetungue Muheue » 🌐
    @muheuenga@hachyderm.io

    Today I am proud to announce that Phase One of my wildlife conservation project is complete.

    This project is personal. I come from a family of farmers and wildlife rangers. Conservation is not just a cause for me, it is my heritage. After losing my job, I spent months in the fields, mountains, and valleys of our beautiful land, Namibia, talking to my community, listening, and building.

    The road has not been easy. The project faces a serious challenge: funding. I have exhausted my budget. On top of that, my ideas are being taken by those in power, people who know that without their approval, the project cannot move forward. That is the biggest obstacle I face.

    And yet, at the end of it all, if this project never sees the light of day, I will still be proud that I tried. Proud that Django and Python were the tools I chose. Proud that the open-source community walked this road with me.

    I am also still open to job opportunities though.

    Thank you, Django community. Thank you, Python community, Thank you, Ubuntu community.. You gave me the tools and the encouragement. This is as much yours as it is mine.

    wildtrackcms.com/

    @django@fosstodon.org @django@kowelenz.social @djangocon @ThePSF @CodenameTim

      [?]Michiel W. Beijen » 🌐
      @mwb@fosstodon.org

      After we started our fork of httpx called httpxyz six weeks ago, the Pydantic team yesterday published their own fork, httpx2. While currently our fork is still a little more 'advanced' we will bless their version. We are sure it will be the best HTTPX fork pretty soon!

      Blog: tildeweb.nl/~michiel/httpx2.ht

        [?]Till » 🌐
        @at4rax@social.tchncs.de

        has a function in its standard library that can create Cartesian products from iterables.

        from itertools import product

a = [1, 2]
b = ["a", "b"]
c = ["$", "%"]

result = product(a, b, c)

assert list(result) == [
    (1, "a", "$"),
    (1, "a", "%"),
    (1, "b", "$"),
    (1, "b", "%"),
    (2, "a", "$"),
    (2, "a", "%"),
    (2, "b", "$"),
    (2, "b", "%"),
]

        Alt...from itertools import product a = [1, 2] b = ["a", "b"] c = ["$", "%"] result = product(a, b, c) assert list(result) == [ (1, "a", "$"), (1, "a", "%"), (1, "b", "$"), (1, "b", "%"), (2, "a", "$"), (2, "a", "%"), (2, "b", "$"), (2, "b", "%"), ]

          [?]Paolo Melchiorre » 🌐
          @paulox@fosstodon.org

          After 20 hours of traveling, I finally arrived at the hotel in Long Beach for the conference 🌍

          Already met a few friends, took some selfies, and had a first quick look around the city.

          So far, Long Beach looks really beautiful ☀️

            gawel boosted

            [?]Julien Palard » 🌐
            @mdk@mamot.fr

            La prochaine sera à Biarritz !

            linuxfr.org/users/chadys/liens

            Si votre boite ou si vous connaissez une boite qui peut sponsoriser une conférence ,

              [?]Reuven M. Lerner » 🌐
              @Reuven@fosstodon.org

              It's time for ! We're in Long Beach, California, near one of the most active ports in the world.

              As such, Bamboo Weekly's challenges are about the Port of Long Beach — how much traffic it gets, what is imported, and from where.

              Level up your and : BambooWeekly.com

                [?]PyCon UK » 🌐
                @PyConUK@fosstodon.org

                📢 A reminder that we're looking for a Conference Director for PyCon UK 2027!

                Applications are open until the end of June, and we aim to have a decision made by mid-July. Could it be you?

                Full details here: linkedin.com/pulse/pycon-uk-20

                  [?]Mariatta 🤦🏻‍♀️ :python: » 🌐
                  @mariatta@fosstodon.org

                  Speaker spotlight: Felipe Moreno: "How Translations Work" - Maintainers Summit

                  Most OSS projects say they want to be welcoming to a global community. Far fewer have actually figured out the translation pipeline, how you avoid the "half-translated forever" problem.

                  Felipe is going to walk through how it actually works, in enough detail to take back to your own project.

                  🕥 2:10 PM, Saturday, May 16, Room 201A

                  us.pycon.org/2026/events/maint

                  PyCon US 2026
Mainainers Summit
How Translations Work
Felipe Moreno
May 16, 2026 2:10 PM Room 201A
https://us.pycon.org/2026/events/maintainers-summit/

                  Alt...PyCon US 2026 Mainainers Summit How Translations Work Felipe Moreno May 16, 2026 2:10 PM Room 201A https://us.pycon.org/2026/events/maintainers-summit/

                    [?]Seth Larson » 🌐
                    @sethmlarson@mastodon.social

                    RE: mastodon.social/@bagder/116566

                    has been reproducible since October 2023 (Python 3.12.0)

                    sethmlarson.dev/security-devel

                    mmu_man boosted

                    [?]daniel:// stenberg:// » 🌐
                    @bagder@mastodon.social

                    "Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

                    itsfoss.com/news/debian-makes-

                      [?]Trey Hunner 🐍 » 🌐
                      @treyhunner@mastodon.social

                      Python Tip #133 (of 365):

                      Beware of containment checks on iterators

                      Membership checks will consume iterator items and can completely exhaust them.

                      Using "item in my_generator" will loop over my_generator, consuming items from it until a matching one is found. If you need to loop again, you'll start from where you left off.

                        AodeRelay boosted

                        [?]Víðir Valberg Guðmundsson [he/him] » 🌐
                        @valberg@social.data.coop

                        Hi! I'm looking for work!

                        I'm primarily a / developer with strong knowledge. But I'm also interested in learning technologies like Elixir/Erlang and Rust.

                        I hope to find a job which benefits the world instead of just capitalising on it.

                        If you know of anyone who is looking for a happy easy going developer let me know!

                        CV: valberg.dk/pages/cv.html

                        P.s. I'm not interested in using LLMs, and I'm willing to work 30 hrs/week, remote and in/around Copenhagen.

                          [?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
                          @mgorny@social.treehouse.systems

                          One of my strong suites in all the packaging work is the knowledge in my head.

                          "Why don't you write it down for others to benefit from, then?", you'd ask.

                          The thing is, this knowledge is basically "hot cache". I'm bumping hundreds of packages in , so I remember stuff. And because of that, I can quickly notice some things or answer some questions.

                          If that were written down, the effort needed to find it would diminish all the gain. I mean, technically *it is* already written down, and the whole point is that I have it "cached".

                            nicopar boosted

                            [?]John Shaft » 🌐
                            @shaft@piaille.fr

                            Un programme pour gérer des recettes de cuisine : Pythance :shibacool:

                            [?]Helsinki Python » 🌐
                            @HelPy@fosstodon.org

                            Our next meetup is next Wednesday, 20th May at ICEYE!

                            Our host will tell us the story of conquering space, that started with just a couple of Aalto students, and has grown into a multi-million euro business.

                            @jerr0328 - Modern Python repository setup

                            [Kasper Paavolainen](linkedin.com/in/kasper-paavola) - TBA

                            The famous HelPy quiz!

                            Daniel Vahla - Python and HTTP/3, feel the difference in performance!

                            meetup.com/helpy-meetups/event

                              frague59 ⏚ boosted

                              [?]Jobs for Developers » 🤖 🌐
                              @jobsfordevelopers@mastodon.world

                              [?]Paolo Melchiorre » 🌐
                              @paulox@fosstodon.org

                              On my way ✈️ to Long Beach 🇺🇸 from Rome 🇮🇹
                              See you all there in only 12 hours 👋

                              Selfie on the airplane seat

                              Alt...Selfie on the airplane seat

                                AodeRelay boosted

                                [?]Shi » 🌐
                                @Shi@troet.cafe

                                Ab Juli suche ich eine Stelle als Junior Fachinformatikerin für Anwendungsentwicklung.

                                Meine Lieblingssprache is , ich habe mehr Erfahrung im Frontend als im Backend, aber möchte mich mehr Richtung letzterem entwickeln.
                                Ich wohne in Wilhelmshaven, würde für einen guten Job umziehen. Am liebsten wäre mir remote oder zumindest hybrid und nicht nur arbeiten mit KI.

                                Mehr über mich: shidigital.com/

                                  [?]PyLadies Global » 🌐
                                  @pyladies@fosstodon.org

                                  💜 PyLadies turns 15 this year 🎉 🐍

                                  As the PyLadies Global Council, we’re celebrating this milestone while continuing important work around governance, transparency, sustainability, and the future of the community.

                                  ✨ Blog post with details 👇
                                  🔗 pyladies.com/blog/Celebrating-

                                    [?]Piper Thunstrom [she/her] » 🌐
                                    @pathunstrom@ngmx.com

                                    Okay, not sure if I'm just missing it, is the 3.15 family of releases missing from the python.org website for anyone else? 3.16 is listed, but no 3.15.

                                      [?]Seth Larson » 🌐
                                      @sethmlarson@mastodon.social

                                      RE: fosstodon.org/@pycon/116538489

                                      This talk from @andrewnez grows more and more important as the days go on... it's a must watch!

                                        [?]Trey Hunner 🐍 » 🌐
                                        @treyhunner@mastodon.social

                                        Python Tip #132 (of 365):

                                        Know your iterator concepts.

                                        Items are "consumed" from an iterator as you loop over it.

                                        And iterators can be "exhausted" if their items have all been consumed.

                                        But not all iterators CAN be exhausted. Infinitely long iterators do exist.

                                        🧵 (1/2)

                                          Fred de CLX boosted

                                          [?]Agenda du Libre » 🤖 🌐
                                          @agenda_du_libre@pouet.chapril.org

                                          Lyon: Excursion dans le monde des microcontrôleurs, Le lundi 18 mai 2026 de 19h00 à 21h00. agendadulibre.org/events/35113

                                            [?]Python Software Foundation » 🌐
                                            @ThePSF@fosstodon.org

                                            RE: fosstodon.org/@ThePSF/11652150

                                            We've still got some volunteer shifts open at the PSF Booth (and other shifts across the conference)! Our shifts take a little bit of work but they include a LOT of fun and connections with other folks in the community 🤝🤩 Sign up today via the website: us.pycon.org/2026/volunteer/vo

                                            [?]Python Software Foundation » 🌐
                                            @ThePSF@fosstodon.org

                                            Joining 2026? PSF booth volunteers WANTED!! Spend a little of your conference time helping things run smoothly at the PSF Booth (or other volunteer opportunities!), hang out with fellow Pythonistas, and enjoy the fun activities we have planned (coloring & video games included) 💛🐍💙 us.pycon.org/2026/volunteer/vo

                                            Group of posing and smiling Pythonistas in the PSF Booth at PyCon US 2025.

                                            Alt...Group of posing and smiling Pythonistas in the PSF Booth at PyCon US 2025.

                                                [?]Python Software Foundation » 🌐
                                                @ThePSF@fosstodon.org

                                                Congratulations to the newest PSF Community Service Award recipients!

                                                Inessa, Kafui, Kalyan, Maria, and @pauleveritt have each made lasting contributions to the Python community. From conferences to founding initiatives to education worldwide, their service to the community deserves recognition and celebration!

                                                pyfound.blogspot.com/2026/05/a

                                                  [?]einenlum » 🌐
                                                  @einenlum@fosstodon.org

                                                  Hello (dev) World!

                                                  I’m a PHP 🐘 developer who wanted to learn Python 🐍 without starting from zero.⁣

                                                  That course didn’t exist — so I built it.⁣

                                                  From PHP to Python is for experienced PHP devs who want to learn Python quickly by comparing it to what they already know.⁣

                                                  fromphptopython.com

                                                    [?]Python Software Foundation » 🌐
                                                    @ThePSF@fosstodon.org

                                                    The May edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 1 PM UTC. We welcome you to join us to share how we can help your community, express your perspectives, and we'd love to receive your questions and feedback about the ongoing strategic planning at the PSF!
                                                    pyfound.blogspot.com/2025/10/a

                                                      [?]Upsun » 🌐
                                                      @upsun@mastodon.social

                                                      We vibe-coded a custom GitLab code review agent using 40,000 lines of Python written by Claude. 🤖

                                                      It has already handled 1,000 merge requests and taught us why going custom for our self-hosted setup was the right move.

                                                      We even built a complete documentation index to help the agent discover all available pages before it starts exploring. . 🚀

                                                      Check out our breakdown of how the agent works and what we learned during the process.

                                                      👉 devcenter.upsun.com/posts/buil

                                                      Building an AI code review agent for our self-hosted GitLab

                                                      Alt...Building an AI code review agent for our self-hosted GitLab

                                                        [?]Genepy.org » 🌐
                                                        @genepy@piaille.fr

                                                        Bilan du premier mois de Genepy depuis la migration depuis HackInScience : 34441 exercices résolus en février par 1368 utilisateurs !

                                                        Le record précédent était de 24k exercices résolus par 1.2k utilisateurs, la progression fait plaisir !

                                                        genepy.org

                                                          [?]Dave Pearson » 🌐
                                                          @davep@fosstodon.org

                                                          [?]benzogaga33 :verified: » 🌐
                                                          @benzogaga33@mamot.fr

                                                          [?]Julien Palard » 🌐
                                                          @mdk@mamot.fr

                                                          Le nombre de téléchargements sur pypi.org est vraiment effrayant !

                                                          Oui on parle de ~140 milliards de téléchargements par mois, contre ~40 milliards il y a 2 ans.

                                                          source : git.afpy.org/mdk/python-versio

                                                          Graphique montrant le nombre de téléchargements mensuels de paquets sur pypi.org.

On passe de ~0 en 2016 à 140 milliards par mois en 2026.

La forme du graph ressemble à une exponentielle.

                                                          Alt...Graphique montrant le nombre de téléchargements mensuels de paquets sur pypi.org. On passe de ~0 en 2016 à 140 milliards par mois en 2026. La forme du graph ressemble à une exponentielle.

                                                            📅

                                                            [?]Evenemang i Norrbotten » 🌐
                                                            @evenemang@evenemang.inorrbotten.se

                                                            Pythonkväll

                                                            <p>kulturskolan Kiruna, torsdag 21 maj kl. 17:00 CEST</p><p>Nu är det</p><h2>Pythonkväll!</h2><p></p><ul><li><p>Vill du lära dig Python?</p></li><li><p>Vill du se vad andra gör med det?</p></li></ul><ul><li><p>Vill du visa dina Pythonprojekt?</p></li></ul><p>Dagens ämnet är <strong>virtual environments</strong>.</p><p>Välkommen till <a target="_blank" href="https://python.hackrnspace.se">Pythonkväll hos hacKRNspace!</a></p> [SENSITIVE CONTENT]

                                                            Nu är det

                                                            Pythonkväll!

                                                            • Vill du lära dig Python?

                                                            • Vill du se vad andra gör med det?

                                                            • Vill du visa dina Pythonprojekt?

                                                            Dagens ämnet är virtual environments.

                                                            Välkommen till Pythonkväll hos hacKRNspace!

                                                            Pythonkväll

                                                            Alt...Pythonkväll

                                                            Location: kulturskolan Kiruna, Midnattssolsvägen 23

                                                            Time: 2026-05-21 17:00:00+02:00 / 19:15:00+02:00

                                                            rixx boosted

                                                            [?]SnoopJ 🔜 #PyConUS [He/him/they, please] » 🌐
                                                            @SnoopJ@hachyderm.io

                                                            They say you're supposed to scratch your own itches, so here's my take on a printer-friendly version of the 2026 schedule:

                                                            snoopj.dev/files/PyConUS_2026_

                                                            My target here is to fit one day on a double-sided landscape 8.5x11" (on my browser/printer) and it just about squeezes down this way.

                                                              [?]Marcos Dione » 🌐
                                                              @mdione@en.osm.town

                                                              Is this proper behavior for a capturing regexp?

                                                              ```
                                                              In [1]: import re
                                                              In [2]: r = re.compile(r'()(foo)()')
                                                              In [3]: r.match('foo').groups()
                                                              Out[5]: ('', 'foo', '')
                                                              ```

                                                              FYI I'm abusing this so I can get a consistent amount of `.groups()` on a `match()`. Sue me.

                                                                [?]Trey Hunner 🐍 » 🌐
                                                                @treyhunner@mastodon.social

                                                                Python Tip #131 (of 365):

                                                                Know the difference between iterables and iterators.

                                                                Python programmers sometimes say "iterator" when they mean "iterable".

                                                                These terms are NOT interchangeable.

                                                                Any objects that you can use a "for" loop to loop over is an iterable.

                                                                Iterators can be passed to the built-in next() function. Arbitrary iterables cannot be passed to next(). Only iterators can be.

                                                                But all iterables can be passed to iter() to get an iterator from them.

                                                                🧵 (1/2)

                                                                  [?]Python Software Foundation » 🌐
                                                                  @ThePSF@fosstodon.org

                                                                  🐍🚀🌌 Snakes. In. SPACE!

                                                                  The PSF Booth at 2026 is going to be absolutely stellar this year! Games, art, stickers, swag, selfies, and most importantly, community 🌠🫶👽🎨🧑‍🚀🎮🪐🤝👾

                                                                  We can't wait to see you there!

                                                                    [?]Python Software Foundation » 🌐
                                                                    @ThePSF@fosstodon.org

                                                                    The PSF is excited to share that the PSF Board is developing a five-year strategic plan–and we want to hear from you! We're sharing the high-level goals we’ve drafted and welcoming the whole Python community into the conversation. Read more on our blog: pyfound.blogspot.com/2026/05/s


                                                                    pyfound.blogspot.com/2026/05/s

                                                                      [?]Jannis Leidel » 🌐
                                                                      @jezdez@publicidentity.net

                                                                      RE: fosstodon.org/@ThePSF/11655557

                                                                      The PSF Board has been developing a strategic plan and today we're sharing the high-level goals for community feedback. Full draft with detailed objectives follows in June.

                                                                      This plan will shape how the PSF spends its resources for the next five years. If Python is part of your world, we'd love to hear from you.

                                                                      [?]Python Software Foundation » 🌐
                                                                      @ThePSF@fosstodon.org

                                                                      The PSF is excited to share that the PSF Board is developing a five-year strategic plan–and we want to hear from you! We're sharing the high-level goals we’ve drafted and welcoming the whole Python community into the conversation. Read more on our blog: pyfound.blogspot.com/2026/05/s


                                                                      pyfound.blogspot.com/2026/05/s

                                                                          [?]Python Software Foundation » 🌐
                                                                          @ThePSF@fosstodon.org

                                                                          This plan will shape what the PSF does and how it spends its resources for the next five years. If you use Python, contribute to it, or participate in communities around it, you have a stake in shaping its future!

                                                                            [?]Python Software Foundation » 🌐
                                                                            @ThePSF@fosstodon.org

                                                                            There are a couple of ways to share your feedback:
                                                                            - Email the address listed in the blog post
                                                                            - Join PSF Board Office Hours in May & June
                                                                            - Comment on the Discuss thread
                                                                            - Join the dedicated Open Space session at

                                                                            discuss.python.org/t/strategic


                                                                            discuss.python.org/t/strategic

                                                                              [?]Python Software Foundation » 🌐
                                                                              @ThePSF@fosstodon.org

                                                                              The PSF is excited to share that the PSF Board is developing a five-year strategic plan–and we want to hear from you! We're sharing the high-level goals we’ve drafted and welcoming the whole Python community into the conversation. Read more on our blog: pyfound.blogspot.com/2026/05/s


                                                                              pyfound.blogspot.com/2026/05/s

                                                                                nicolas boosted

                                                                                [?]Lycée Louis Bascan ✅ » 🌐
                                                                                @lyc_bascan_ramb@mamot.fr

                                                                                @nuitducode
                                                                                🔹 Lundi 11 mai 2026, de 10h00 à 16h00, au lycée est organisée, pour la quatrième année consécutive, « La nuit du code » (en plein jour) .
                                                                                🔸 Marathon de ~ Six heures 😰 pour coder 🖥 un jeu en utilisant .
                                                                                ℹ️ En savoir plus |→ lyc-bascan.fr/la-nuit-du-code/

                                                                                Alt...Lundi 11 mai 2026, de 10h00 à 16h00, au bâtiment E, salle E012 du lycée Louis-Bascan à Rambouillet (78) est organisée, pour la quatrième année consécutive, « La nuit du code » par Jean-Christophe Dagnet, professeur de Numérique et Sciences Informatiques (NSI).

                                                                                  Fred de CLX boosted

                                                                                  [?]Python Rennes » 🌐
                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                  La rediffusion du du 27 avril est en ligne : youtu.be/FhUBmdUDe-w?list=PLv7 🎉
                                                                                  Merci Néosoft pour l'accueil, Alex pour la captation et la mise en ligne, Quentin et Jesshuan pour vos interventions sur les frameworks web et d'orchestrations de workflows.

                                                                                  Retrouvez les diaporamas des actualités et des interventions sur github.com/python-rennes/sessi

                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                  @hugovk@mastodon.social

                                                                                  @mgorny You're welcome?

                                                                                  We don't usually do RCs for patch releases, the last one was five years ago. The 3.14.5 RC was specifically for the GC change.

                                                                                  Unfortunately timelines were a bit short because I wanted to get this out, but it took a bit of time to prepare and test the patches and I didn't want to rush that, nor release during PyCon US.
                                                                                  discuss.python.org/t/reverting

                                                                                    [?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
                                                                                    @mgorny@social.treehouse.systems

                                                                                    Always appreciate how people release RCs to give others opportunity to test their changes early, then release final versions before the fixes for "breaks " kind of regressions introduced in the RCs are merged.

                                                                                    github.com/python/cpython/issu

                                                                                      [?]Hanno Rein » 🌐
                                                                                      @hannorein@mastodon.social

                                                                                      So either I've overdone it, or really nailed it:

                                                                                      The version of REBOUND is only a thin wrapper of the C code interfaced via ctypes. In the past, adding or changing a parameter in a C structure required you to also update the parameter on python. I have now one source of truth, the C code. I there define the structures, but now also an interface to them. This is not only used by python to access and modify parameters, but also by C itself to serialize data to a restart file.

                                                                                        [?]Seth Larson » 🌐
                                                                                        @sethmlarson@mastodon.social

                                                                                        is only a few days away! 🤩 As usual I’ll be covering the event exclusively on Mastodon (specifically the NEW “Trailblazing Security” talk track on Saturday May 16th).

                                                                                        Time to reshare my hack for quick toot templates with event :

                                                                                        sethmlarson.dev/quick-mastodon

                                                                                          [?]Dave Pearson » 🌐
                                                                                          @davep@fosstodon.org

                                                                                          v2.21.0 is now available. This adds a lint command that is used to check your blog content for various issues.

                                                                                          blog.davep.org/2026/05/10/blog

                                                                                            [?]Trey Hunner 🐍 » 🌐
                                                                                            @treyhunner@mastodon.social

                                                                                            Python Tip #130 (of 365):

                                                                                            Only use recursion for trees

                                                                                            Recursion is most useful for traversing or constructing TREE-LIKE STRUCTURES.

                                                                                            For most other problems, iteration is usually more readable.

                                                                                            Recursion is when a function calls itself.

                                                                                            Computer science classes almost always introduce recursion using factorial or fibonacci. Those are not great examples because those are both very clear (and fast) using a simple "for" loop instead.

                                                                                            🧵 (1/6)

                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                              @hugovk@mastodon.social

                                                                                              🐍🚀 Out now: Python 3.14.5 final!

                                                                                              ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

                                                                                              discuss.python.org/t/python-3-

                                                                                                [?]David ALBERTO » 🌐
                                                                                                @david_alberto@social.sciences.re


                                                                                                Visibility of planets at a glance, on a diagram.
                                                                                                Customize location and date in the script.
                                                                                                Made possible with the package.
                                                                                                Astronomical twilight.

                                                                                                Script available on my blog:
                                                                                                astrolabe-science.fr/diagramme

                                                                                                Circular diagram with hour scale, and a colored arc for each listed planet, extending from rising to setting times. Names in french.

                                                                                                Alt...Circular diagram with hour scale, and a colored arc for each listed planet, extending from rising to setting times. Names in french.

                                                                                                  [?]Trey Hunner 🐍 » 🌐
                                                                                                  @treyhunner@mastodon.social

                                                                                                  “This is the situation where you're most likely to see implicit string concatenation used: to break up a long string literal into smaller strings over multiple lines, putting parentheses around them to create an implicit line continuation.”

                                                                                                  Read more 👉 pym.dev/implicit-string-concat

                                                                                                    [?]Yazad » 🌐
                                                                                                    @yazad3@techhub.social

                                                                                                    Hi experts! If I want to try out neovim, is there a setup that already comes preconfigured with basic tooling like telescope? Or is my best bet to download and watch a 6 part video series?

                                                                                                      [?]Trey Hunner 🐍 » 🌐
                                                                                                      @treyhunner@mastodon.social

                                                                                                      Python Tip #129 (of 365):

                                                                                                      Use None as a sentinel value

                                                                                                      None is great for representing nothingness, but it can also act as a placeholder for "no real value yet".

                                                                                                      It's common to use None to distinguish between "caller didn't pass an argument" and "caller passed a real value".

                                                                                                      🧵 (1/3)

                                                                                                        [?]Wolf » 🌐
                                                                                                        @YesJustWolf@hachyderm.io

                                                                                                        If I recall correctly, it was Akkana Peck @akkana who first introduced me to Python, probably around 1998 or 1997 (so something in the neighborhood of Python v1.5) while working together at Netscape (I had a different name back then). **That** turned out to be a life-changing event; so thanks, Akkana!

                                                                                                          [?]PyCon UK » 🌐
                                                                                                          @PyConUK@fosstodon.org

                                                                                                          This year's PyCon UK has been cancelled, but we're looking for a Conference Director to make PyCon UK 2027 happen - could it be you?

                                                                                                          Full details of what the role involves and how to apply here: buff.ly/j4cVItY

                                                                                                          A view of the main auditorium at PyCon UK 2025. Photo by Mark Hawkins, CC BY.

                                                                                                          Alt...A view of the main auditorium at PyCon UK 2025. Photo by Mark Hawkins, CC BY.

                                                                                                            [?]Mike Driscoll » 🌐
                                                                                                            @driscollis@mastodon.social

                                                                                                            What are your favorite new features in lately? Or what are some new nuggets you have recently learned about?

                                                                                                              Pffff... boosted

                                                                                                              [?]Jan Marthedal Rasmussen » 🌐
                                                                                                              @janmr@mathstodon.xyz

                                                                                                              [?]mathieui » 🌐
                                                                                                              @mathieui@piaille.fr

                                                                                                              New post on how to type some quirky functions made possible by python’s absolute flexibility: blog.mathieui.net/typing-pytho

                                                                                                                [?]Trey Hunner 🐍 » 🌐
                                                                                                                @treyhunner@mastodon.social

                                                                                                                Python Tip #128 (of 365):

                                                                                                                Chain method calls for readability's sake

                                                                                                                When an object's methods return the same type of object, prefer to chain calls together instead of juggling extra variables.

                                                                                                                String methods are the classic example of this.

                                                                                                                Each one returns a new string, so they chain nicely:

                                                                                                                normalized = message.strip().lower().replace(",", "")

                                                                                                                Imagine if we made a "stripped" variable and a "lower_stripped" variable for those 2 intermediary steps.

                                                                                                                🧵 (1/4)

                                                                                                                  [?]Stan 🐍 » 🌐
                                                                                                                  @stanfromireland@mastodon.social

                                                                                                                  Inspired by @hugovk 's Bluesky Python core devs starter pack, I created one for Mastodon(.social): mastodon.social/collections/11

                                                                                                                  A very new feature, and as such quite limited. If I've missed anyone on mastodon.social please let me know! If you're on another instance, I'm afraid I can't add you yet :'-(

                                                                                                                    [?]PyCon US » 🌐
                                                                                                                    @pycon@fosstodon.org

                                                                                                                    Turn your data into stunning interactive dashboards — no JavaScript needed! Join Daniel Chen at 2026 for the tutorial "Show off your data: Interactive dashboards in " on May 14th 📊 us.pycon.org/2026/schedule/pre

                                                                                                                    Register now: us.pycon.org/2026/accounts/das

                                                                                                                      AodeRelay boosted

                                                                                                                      [?]GNU/Linux.ch » 🌐
                                                                                                                      @gnulinux@social.anoxinon.de

                                                                                                                      Heizungs-Fernsteuerung per SMS

                                                                                                                      Ich bin Fernpendler. In meiner "Arbeits"-Wohnung benutze ich nur mobiles Internet. Um die Heizung bei Bedarf anschalten zu können, habe ich eine Steuerung gebaut, die auf SMS reagiert.

                                                                                                                      gnulinux.ch/heizungs-fernsteue

                                                                                                                      AodeRelay boosted

                                                                                                                      [?]dewomser » 🌐
                                                                                                                      @dewomser@social.tchncs.de


                                                                                                                      Diese USB-schaltbare Steckdosenleiste beim Pearl-Versand gekauft 2009 funktioniert immer noch. Und die Links auf meiner Webseite zu Sourceforge tun auch noch.
                                                                                                                      Das nenn ich mal 👍 👍 👍
                                                                                                                      wormser-region.de/index5482.ht

                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                        @hugovk@mastodon.social

                                                                                                                        🐍🚀 Out now: Python 3.15 beta 1!

                                                                                                                        🧊 This is the feature freeze, and now it's *your* turn to test out all the amazing things we've been baking for the past 12 months!

                                                                                                                        💤 Lazy imports!
                                                                                                                        🧊 frozendict builtin!
                                                                                                                        💂 sentinel builtin!
                                                                                                                        📉 Tachyon profiler!
                                                                                                                        🖼️ Frame pointers everywhere!
                                                                                                                        🧳 Unpacking in comprehensions!
                                                                                                                        8️⃣ UTF-8 default encoding!
                                                                                                                        🆕 Startup config files!
                                                                                                                        ⌨️ Loadsa typing!
                                                                                                                        🎨 More colour!

                                                                                                                        discuss.python.org/t/python-3-

                                                                                                                        Please report bugs, we'll fix for the big October release.

                                                                                                                          Axel Leroy boosted

                                                                                                                          [?]Veronica Olsen » 🌐
                                                                                                                          @veronica@mastodon.online

                                                                                                                          I couldn't sleep, so I got up at 5 am this morning.

                                                                                                                          To kill some time before work, I wrote a new Python-based proof of concept for Copy Fail based on the original, but one that is easier to read (I don't care about the byte size bragging rights) and which does not push a payload into the page cache of a setuid exec (which is bad). Instead it just overwrites text on a temp text file. It works great!

                                                                                                                          I got the idea from the copy-fail-c implementation on GitHub.

                                                                                                                            [?]Henry³ » 🌐
                                                                                                                            @henryiii@fosstodon.org

                                                                                                                            My Python 3.15 what's new post is out for the just-released 3.15 beta 1! iscinumpy.dev/post/python-315/

                                                                                                                              [?]Seth Larson » 🌐
                                                                                                                              @sethmlarson@mastodon.social

                                                                                                                              Hey library maintainers! 👋 I sometimes see pull requests from well-meaning users about bumping minimum versions of dependencies to "fix security vulnerabilities". Here's a resource you can link to about why this strategy doesn't work in practice:

                                                                                                                              sethmlarson.dev/library-versio

                                                                                                                                [?]Seth Larson » 🌐
                                                                                                                                @sethmlarson@mastodon.social

                                                                                                                                RE: mastodon.social/@7ASecurity/11

                                                                                                                                💪 “urllib3's supply chain posture was described as exceptionally strong, with advanced compliance across SLSA Source, Build, and Provenance requirements. The project maintainers were helpful, responsive, and engaged throughout the audit, ensuring that 7ASecurity had the necessary access and information at all times”

                                                                                                                                Excellent work @illiav and @quentinpradet! 👏

                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                  RE: mastodon.social/@hugovk/116534

                                                                                                                                  Just as importantly!

                                                                                                                                  After two years, it's now time to ceremoniously hand over the `main` branch to @savannah!

                                                                                                                                  `main` is now accepting new features for Python 3.16, and I bet it's going to be even better than 3.15.

                                                                                                                                  peps.python.org/pep-0826/

                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                  🐍🚀 Out now: Python 3.15 beta 1!

                                                                                                                                  🧊 This is the feature freeze, and now it's *your* turn to test out all the amazing things we've been baking for the past 12 months!

                                                                                                                                  💤 Lazy imports!
                                                                                                                                  🧊 frozendict builtin!
                                                                                                                                  💂 sentinel builtin!
                                                                                                                                  📉 Tachyon profiler!
                                                                                                                                  🖼️ Frame pointers everywhere!
                                                                                                                                  🧳 Unpacking in comprehensions!
                                                                                                                                  8️⃣ UTF-8 default encoding!
                                                                                                                                  🆕 Startup config files!
                                                                                                                                  ⌨️ Loadsa typing!
                                                                                                                                  🎨 More colour!

                                                                                                                                  discuss.python.org/t/python-3-

                                                                                                                                  Please report bugs, we'll fix for the big October release.

                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                      🐍🚀 Out now: Python 3.15 beta 1!

                                                                                                                                      🧊 This is the feature freeze, and now it's *your* turn to test out all the amazing things we've been baking for the past 12 months!

                                                                                                                                      💤 Lazy imports!
                                                                                                                                      🧊 frozendict builtin!
                                                                                                                                      💂 sentinel builtin!
                                                                                                                                      📉 Tachyon profiler!
                                                                                                                                      🖼️ Frame pointers everywhere!
                                                                                                                                      🧳 Unpacking in comprehensions!
                                                                                                                                      8️⃣ UTF-8 default encoding!
                                                                                                                                      🆕 Startup config files!
                                                                                                                                      ⌨️ Loadsa typing!
                                                                                                                                      🎨 More colour!

                                                                                                                                      discuss.python.org/t/python-3-

                                                                                                                                      Please report bugs, we'll fix for the big October release.

                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                        Just released: PrettyTable 3.16 🚀
                                                                                                                                        Just released: norwegianblue 0.21.0 🚀

                                                                                                                                        Add support for OSC 8 hyperlinks in the terminal.

                                                                                                                                        github.com/prettytable/prettyt

                                                                                                                                        norwegianblue now uses this to create hyperlinks in the terminal instead of printing a wide column of links. Use command+click with iTerm.

                                                                                                                                        Also create hyperlinks for Markdown, reStructuredText and HTML output.

                                                                                                                                        github.com/hugovk/norwegianblu

                                                                                                                                        Attached are before and after images.

                                                                                                                                        Before: running "eol alpine" shows a wide table in the terminal, the last column made of long links to release notes.

                                                                                                                                        Alt...Before: running "eol alpine" shows a wide table in the terminal, the last column made of long links to release notes.

                                                                                                                                        After: running "eol alpine" shows a narrower table in the terminal, no links column, and the release names in the first column are underlined and clickable.

                                                                                                                                        Alt...After: running "eol alpine" shows a narrower table in the terminal, no links column, and the release names in the first column are underlined and clickable.

                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                          Just released: termcolor 3.0.0 🚀

                                                                                                                                          ANSI colour formatting for the terminal.

                                                                                                                                          🎨 Add support for Python 3.14

                                                                                                                                          🎨 Only apply FORCE_COLOR, NO_COLOR & ANSI_COLORS_DISABLED env vars when present & not an empty string

                                                                                                                                          🎨 Replace literal types with strings

                                                                                                                                          🎨 Replace deprecated classifier with licence expression (PEP 639)

                                                                                                                                          🎨 Speedup: move typing imports into type-checking block

                                                                                                                                          🎨 Remove deprecated __ALL__, use __all__ instead

                                                                                                                                          github.com/termcolor/termcolor

                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                            Just released: Python 3.14.0a7 🚀
                                                                                                                                            Just released: Python 3.13.3 🚀🚀
                                                                                                                                            Just released: Python 3.12.10 🚀🚀🚀
                                                                                                                                            Just released: Python 3.11.12 🚀🚀🚀🚀
                                                                                                                                            Just released: Python 3.10.17 🚀🚀🚀🚀🚀
                                                                                                                                            Just released: Python 3.9.22 🚀🚀🚀🚀🚀🚀

                                                                                                                                            Last 3.14 alpha! Less than a month to get new features in before beta!

                                                                                                                                            Last 3.12 bugfix release! Now in security fix only!

                                                                                                                                            And security releases of 3.9-3.11.

                                                                                                                                            Please upgrade 3.9-3.13!

                                                                                                                                            Please test 3.14!

                                                                                                                                            discuss.python.org/t/python-3-

                                                                                                                                            Chart showing Python up to 3.8 are EOL, 3.9-3.12 are security only, 3.13 is bugfix, and 3.14 is the feature branch.

                                                                                                                                            Alt...Chart showing Python up to 3.8 are EOL, 3.9-3.12 are security only, 3.13 is bugfix, and 3.14 is the feature branch.

                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                              Just released: Pillow 11.2.1 🚀

                                                                                                                                              There was meant to be a 11.2.0 on 1st April, but we put too much good stuff in the wheels and hit the @pypi.org project limit before it could all be uploaded. That was yanked and now deleted and 11.2.1 is back to normal size.

                                                                                                                                              We'll try and put the good stuff back for 11.3.0 on 1st July but take up less space.

                                                                                                                                              fosstodon.org/@pillow/11432638

                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                Just released: Python Docs Theme 2025.4 🚀

                                                                                                                                                📚 Require Sphinx 7.3
                                                                                                                                                📚 Add support for Python 3.14
                                                                                                                                                📚 Drop support for Python 3.10-3.11
                                                                                                                                                📚 Copy button for code samples
                                                                                                                                                📚 PEP 639 licence metadata
                                                                                                                                                📚 and more!

                                                                                                                                                github.com/python/python-docs-

                                                                                                                                                Thanks to Tomas Roun for the copy button! Demo:

                                                                                                                                                docs.python.org/3.14/whatsnew/

                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                  🙈 youtube.com/watch?v=2cxSP90gj8c [Vappu is May Day]

                                                                                                                                                  Just released! 🚀🚀🚀🚀

                                                                                                                                                  termcolor 3.1.0
                                                                                                                                                  Add true colour, cache system lookups
                                                                                                                                                  github.com/termcolor/termcolor

                                                                                                                                                  em-keyboard 5.1.0
                                                                                                                                                  Add Emoji 16.0: 🫩 🫆 🪾 🫜 🪉 🪏 🫟 🇨🇶
                                                                                                                                                  github.com/hugovk/em-keyboard/

                                                                                                                                                  Humanize 4.12.3
                                                                                                                                                  Fix regression in naturalsize, improve French translation
                                                                                                                                                  github.com/python-humanize/hum

                                                                                                                                                  Python Docs Theme 2025.4.1
                                                                                                                                                  Fix copy button with multiple tracebacks
                                                                                                                                                  github.com/python/python-docs-

                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                    Just released: Python 3.14.0 beta 1! 🚀🐍

                                                                                                                                                    🥧 Deferred type annotation evaluation!
                                                                                                                                                    🥧 T-strings!
                                                                                                                                                    🥧 Zstandard!
                                                                                                                                                    🥧 Syntax highlighting in the REPL!
                                                                                                                                                    🥧 Colour in unittest, argparse, json and calendar CLIs!
                                                                                                                                                    🥧 UUID v6-8!
                                                                                                                                                    🥧 And much more!

                                                                                                                                                    discuss.python.org/t/python-3-

                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                      Just released: Python 3.14.0 beta 2! 🚀🐍

                                                                                                                                                      🥧 Deferred type annotation evaluation!
                                                                                                                                                      🥧 T-strings!
                                                                                                                                                      🥧 Zstandard!
                                                                                                                                                      🥧 Syntax highlighting in the REPL!
                                                                                                                                                      🥧 Colour in unittest, argparse, json and calendar CLIs!
                                                                                                                                                      🥧 UUID v6-8!
                                                                                                                                                      🥧 And much more!

                                                                                                                                                      Do you maintain a Python package? Please test 3.14. If you find a bug now, we can fix it before October, which helps everyone. And you might find some places in your code to update as well, which helps you.

                                                                                                                                                      discuss.python.org/t/python-3-

                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                        Just released: Python 3.14.0 beta 3! 🚀🐍

                                                                                                                                                        🥧 All the good stuff of b2 but also:

                                                                                                                                                        🥧 Free-threaded Python is officially supported! (PEP 779)

                                                                                                                                                        🥧 Subinterpreters in the stdlib! (PEP 734)

                                                                                                                                                        Do you maintain a Python package? Please test 3.14.

                                                                                                                                                        If you find a bug now, we can fix it before October, which helps everyone. And you might find some places in your code to update as well, which helps you.

                                                                                                                                                        discuss.python.org/t/python-3-

                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                          Just released: linkotron 0.6.0!

                                                                                                                                                          🔗 Adds OSC 8 formatting so you can do make those clickable links in terminal emulators.

                                                                                                                                                          pypi.org/project/linkotron/

                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                            Just released: Python 3.14.0 beta 4! 🚀🐍

                                                                                                                                                            🥧 Last beta!

                                                                                                                                                            🥧 Do you maintain a Python package? Please test and report bugs!

                                                                                                                                                            🥧 This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing.

                                                                                                                                                            discuss.python.org/t/python-3-

                                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                                              Just released: Python 3.14.0 release candidate 1! 🚀🐍

                                                                                                                                                              🫖 T-strings!

                                                                                                                                                              🧵 Free-threading is officially supported!

                                                                                                                                                              🚇 Subinterpreters in the stdlib!

                                                                                                                                                              🗜️ Zstandard compression!

                                                                                                                                                              🎨 REPL syntax highlighting and tab autocomplete!

                                                                                                                                                              ⚠️ Better error messages!

                                                                                                                                                              📦 Are you a package maintainer? Prepare for 3.14 and report bugs!

                                                                                                                                                              🛞 No ABI changes: upload 3.14 wheels to PyPI

                                                                                                                                                              🥧 And much, much more!

                                                                                                                                                              discuss.python.org/t/python-3-

                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                Just released: Python 3.14.0 release candidate 2! 🚀🐍

                                                                                                                                                                🪄 This was planned for 2025-08-26, but we fixed a bug that required bumping the magic number stored in bytecode (.pyc) files

                                                                                                                                                                🪄 This means .pyc files created for rc1 will be recompiled for rc2

                                                                                                                                                                🪄 The ABI isn’t changing

                                                                                                                                                                🪄 Wheels built for rc1 should be fine for rc2, rc3 and 3.14.x

                                                                                                                                                                🤖 Did I mention Android binaries?

                                                                                                                                                                🏆 Bonus: We also released an early Python 3.13.7!

                                                                                                                                                                discuss.python.org/t/python-3-

                                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                                  Just released: UltraJSON 5.11.0! 🚀

                                                                                                                                                                  ⌨️ Inline type stubs
                                                                                                                                                                  🐍 Support for Python 3.14 & PyPy3.11
                                                                                                                                                                  🛞 Windows ARM64 wheels (thanks @tonybaloney!)
                                                                                                                                                                  💧Drop EOL Python 3.8 & PyPy3.8-PyPy3.10
                                                                                                                                                                  ➕ And more!

                                                                                                                                                                  github.com/ultrajson/ultrajson

                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                    Just released: Cherry Picker 2.6.0! 🚀

                                                                                                                                                                    🌸 Fix bug when local branch does not exist (thanks, @webknjaz!)
                                                                                                                                                                    🌸 Use PEP 639 licence expression and remove deprecated Trove classifier

                                                                                                                                                                    github.com/python/cherry-picke

                                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                                      Just released: OSMViz 4.5.0! 🚀

                                                                                                                                                                      An OpenStreetMap visualization toolkit for Python

                                                                                                                                                                      🥧 Support for Python 3.14
                                                                                                                                                                      🪪 Replace deprecated classifier with licence expression (PEP 639)
                                                                                                                                                                      🔍 Remove GitHub attestation, PyPI attestation is enough

                                                                                                                                                                      pypi.org/project/osmviz/

                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                        Just released: humanize 4.13.0! 🚀

                                                                                                                                                                        🤖 Optimise `naturalsize` algorithm by using `math.log`

                                                                                                                                                                        🤖 Fix `precisedelta` rounding

                                                                                                                                                                        github.com/python-humanize/hum

                                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                                          Just released! 🚀

                                                                                                                                                                          After one sequential-only CI failure, two artifacts builds, one GitHub outage, two fixes for the Windows installer build, four Windows builds, and a NuGet outage:

                                                                                                                                                                          🐍 Python 3.15 alpha 2!

                                                                                                                                                                          🔬 PEP 799: A new high-frequency statistical sampling profiler
                                                                                                                                                                          💬 PEP 686: Python now uses UTF-8 as the default encoding
                                                                                                                                                                          🌊 PEP 782: A new PyBytesWriter C API to create a Python bytes object
                                                                                                                                                                          ⚠️ Better error messages

                                                                                                                                                                          discuss.python.org/t/python-3-

                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                            Just released! 🚀

                                                                                                                                                                            🎶 pylast 7.0.0

                                                                                                                                                                            🎤 A interface to @lastfm and Libre.fm

                                                                                                                                                                            🗑️ Remove `SCROBBLE_SOURCE_*` and `SCROBBLE_MODE_*` constants. Last used in 2017, you probably weren't using them

                                                                                                                                                                            📻 Add `chosen_by_user` parameter to `scrobble`. Set to false if you don't have "direct" control over the source, like radio or a stream.

                                                                                                                                                                            🐍 Add support for Python 3.15

                                                                                                                                                                            📼 Test against recorded API instead of live

                                                                                                                                                                            🦀 Replace pre-commit with prek

                                                                                                                                                                            Thanks to @scy!

                                                                                                                                                                            github.com/pylast/pylast/relea

                                                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                                                              Just released! 🚀🐍

                                                                                                                                                                              Python 3.14.1

                                                                                                                                                                              Waiting for the .1 to upgrade? This one's especially for you!

                                                                                                                                                                              🥧 Deferred type annotation evaluation!
                                                                                                                                                                              🥧 T-strings!
                                                                                                                                                                              🥧 Zstandard!
                                                                                                                                                                              🥧 Syntax highlighting in the REPL!
                                                                                                                                                                              🥧 Colour in unittest, argparse, json and calendar CLIs!
                                                                                                                                                                              🥧 UUID v6-8!
                                                                                                                                                                              🥧 And much more!

                                                                                                                                                                              discuss.python.org/t/python-3-

                                                                                                                                                                              Two snakes enjoying a pie with 3.14 on the top and π crimping.

                                                                                                                                                                              Alt...Two snakes enjoying a pie with 3.14 on the top and π crimping.

                                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                                Just released! 🚀🐍

                                                                                                                                                                                Python 3.14.2 (and 3.13.11)

                                                                                                                                                                                Waiting for the .2 to upgrade? This one's especially for you!

                                                                                                                                                                                So soon? We found some regressions, so here’s an expedited pair of releases. They also come with bonus security fixes.

                                                                                                                                                                                discuss.python.org/t/python-3-

                                                                                                                                                                                Two snakes enjoying a pie with 3.14 on the top and π crimping.

                                                                                                                                                                                Alt...Two snakes enjoying a pie with 3.14 on the top and π crimping.

                                                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                                                  Just released! 🚀

                                                                                                                                                                                  Python Docs Sphinx Theme

                                                                                                                                                                                  This is the theme for the Python documentation (and others)

                                                                                                                                                                                  * Add support for green, red and yellow side borders for code examples
                                                                                                                                                                                  * Add Portuguese translation
                                                                                                                                                                                  * Add support for Python 3.15

                                                                                                                                                                                  github.com/python/python-docs-

                                                                                                                                                                                  Light mode screenshot showing examples of "good code", with a green border on the left, and "bad code", with red.

                                                                                                                                                                                  Alt...Light mode screenshot showing examples of "good code", with a green border on the left, and "bad code", with red.

                                                                                                                                                                                  Same but for dark mode.

                                                                                                                                                                                  Alt...Same but for dark mode.

                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                    Just released! 🚀

                                                                                                                                                                                    🐍 Python 3.15 alpha 3!

                                                                                                                                                                                    discuss.python.org/t/python-3-

                                                                                                                                                                                    🔬 PEP 799: A new high-frequency statistical sampling profiler and dedicated profiling package
                                                                                                                                                                                    💬 PEP 686: Python now uses UTF-8 as the default encoding
                                                                                                                                                                                    🌊 PEP 782: A new PyBytesWriter C API to create a Python bytes object
                                                                                                                                                                                    🎨 Colour code snippets in argparse help: bsky.app/profile/savannah.dev/
                                                                                                                                                                                    ⚠️ Better error messages

                                                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                                                      Just released! 🚀

                                                                                                                                                                                      🤖 Humanize 4.15.0

                                                                                                                                                                                      This does stuff like turning a number into a fuzzy human-readable duration ("3 minutes ago")

                                                                                                                                                                                      github.com/python-humanize/hum

                                                                                                                                                                                      * Add locale support for decimal separator in `intword`
                                                                                                                                                                                      * Add support for Python 3.15
                                                                                                                                                                                      * `naturaldelta`: round the value to nearest unit that makes sense
                                                                                                                                                                                      * Fix plural form for `intword` and improve performance
                                                                                                                                                                                      * Replace `Exception` with more specific `FileNotFoundError`
                                                                                                                                                                                      * Replace pre-commit with prek

                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                        Just released! 🚀

                                                                                                                                                                                        stravavis 0.6.0: create visualisations of Strava activities

                                                                                                                                                                                        * add option to select visualisations/allow --bbox as file/support 3.13-3.14/drop 3.9

                                                                                                                                                                                        github.com/marcusvolz/strava_p

                                                                                                                                                                                        termcolor 3.3.0: ANSI formatting for the terminal

                                                                                                                                                                                        * add italic/fix error handling

                                                                                                                                                                                        github.com/termcolor/termcolor

                                                                                                                                                                                        pylast 7.0.1: A Python interface to Last.fm

                                                                                                                                                                                        * fix type hints

                                                                                                                                                                                        github.com/pylast/pylast/relea

                                                                                                                                                                                        Monochrome heatmap showing lots of Strava activities around greater Helsinki.

                                                                                                                                                                                        Alt...Monochrome heatmap showing lots of Strava activities around greater Helsinki.

                                                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                                                          Just released! 🚀

                                                                                                                                                                                          pypistats 1.12.0

                                                                                                                                                                                          CLI for PyPI download stats

                                                                                                                                                                                          support 3.15
                                                                                                                                                                                          drop 3.9
                                                                                                                                                                                          improve verbose output
                                                                                                                                                                                          declare type hints
                                                                                                                                                                                          replace dateutil+six dependencies with stdlib
                                                                                                                                                                                          replace httpx with urllib
                                                                                                                                                                                          replace pre-commit with prek

                                                                                                                                                                                          github.com/hugovk/pypistats/re

                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                            Just released! 🚀

                                                                                                                                                                                            norwegianblue 0.24.0

                                                                                                                                                                                            CLI to show end-of-life dates

                                                                                                                                                                                            show spinner when querying
                                                                                                                                                                                            support 3.15
                                                                                                                                                                                            replace dateutil+six dependencies with stdlib
                                                                                                                                                                                            replace httpx with urllib3
                                                                                                                                                                                            replace pre-commit with prek

                                                                                                                                                                                            github.com/hugovk/norwegianblu

                                                                                                                                                                                              [?]Python Rennes » 🌐
                                                                                                                                                                                              @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                              RE: fosstodon.org/@gaborbernat/116

                                                                                                                                                                                              pipx est un outil qui permet d'installer un paquet Python (souvent un outil de type ligne de commande) sur votre ordinateur de façon isolée, sans que ses dépendances interagissent avec d'autres outils systèmes Python. C'est aussi ce que permet la commande uv tool.

                                                                                                                                                                                              Depuis sa version 1.12.0, pipx permet d'ailleurs d'utiliser uv sous le capot : pipx.pypa.io/stable/explanatio

                                                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                                                I've locked the branch and started the builds! 🔒⚙️

                                                                                                                                                                                                discuss.python.org/t/python-3-

                                                                                                                                                                                                  [?]Demokritus Jorik :v_gay: [He/Him] » 🌐
                                                                                                                                                                                                  @serigala_tropis@lgbtqia.space

                                                                                                                                                                                                  A screenshot of my daily drive desktop.

                                                                                                                                                                                                  as screenshotted on May 7 2026.

                                                                                                                                                                                                  elementary OS 8.1
                                                                                                                                                                                                  Built on Ubuntu 24.04.4 LTS
                                                                                                                                                                                                  Linux 6.17.0-23-generic

                                                                                                                                                                                                  A screenshot of elementary OS 8.1 desktop, showing Pantheon desktop environment in which there are two windows being displayed: a code editor opening a python code and a terminal running a python program. The top bar is fully transparent, showing 'Applications' button on the left, a calendar and clock on the center, and system tray icons on the right. There is a dock being visible on the bottom of the screen, where a bunch of apps and workspace switcher sit there.

                                                                                                                                                                                                  Alt...A screenshot of elementary OS 8.1 desktop, showing Pantheon desktop environment in which there are two windows being displayed: a code editor opening a python code and a terminal running a python program. The top bar is fully transparent, showing 'Applications' button on the left, a calendar and clock on the center, and system tray icons on the right. There is a dock being visible on the bottom of the screen, where a bunch of apps and workspace switcher sit there.

                                                                                                                                                                                                    [?]David Bremner [he/him] » 🌐
                                                                                                                                                                                                    @bremner@mathstodon.xyz

                                                                                                                                                                                                    OK @glyph challenge accepted. Here is python programming talk.

                                                                                                                                                                                                    I have a script that uses "with Popen(...,stdout=PIPE)" to run a program and roughly run grep. Now I'd like to add a timeout, but I don't want to buffer the output (because it is unbounded), so run is out. Currently I am running /usr/bin/timeout from python, but this is, uh, unpythonic.

                                                                                                                                                                                                      [?]Nicolas Évrard » 🌐
                                                                                                                                                                                                      @nicoe@mamot.fr

                                                                                                                                                                                                      @glyph you might be interested in python-sql which is a protection against SQL injections. It aims to be lighter than full fledged ORMs. Our goal is also to make SQL queries objects that are composable and introspectable

                                                                                                                                                                                                      We've been using it for years in so it covers quite a lot of the SQL standard. What's missing from my quick look to dbxs is the typing part.

                                                                                                                                                                                                      pypi.org/project/python-sql/

                                                                                                                                                                                                        [?]Marcus Adams » 🌐
                                                                                                                                                                                                        @gerowen@mastodon.social

                                                                                                                                                                                                        Made a few more changes to the little download manager I'm tinkering with.

                                                                                                                                                                                                        Link: gitlab.com/gerowen/curlflow/-/

                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                          Python Tip #126 (of 365):

                                                                                                                                                                                                          Prefer to return expressions instead of variables

                                                                                                                                                                                                          If a variable name would make the meaning of the expression more understandable, ask yourself "does my function name convey the meaning well-enough already?"

                                                                                                                                                                                                          If not, ask "why not?"

                                                                                                                                                                                                          Sometimes "return some_variable" might improve readability, even if some_variable could be replaced by an expression. But usually I find an equivalent expression more readable.

                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                            Release week update!

                                                                                                                                                                                                            Also moving release 3/3 this week, 3.14.5 final, by a couple of days to give some more time for testing of the RC 🚀

                                                                                                                                                                                                            discuss.python.org/t/python-3-

                                                                                                                                                                                                            Current plan:

                                                                                                                                                                                                            ✅ 3.14.5rc1 on Monday 4nd (+2 days)
                                                                                                                                                                                                            ⬜ 3.15.0b1 on Thursday 7th (+2 days)
                                                                                                                                                                                                            ⬜ 3.14.5 final on Sunday 10th (+2 days)

                                                                                                                                                                                                              [?]Yann Büchau :nixos: » 🌐
                                                                                                                                                                                                              @nobodyinperson@fosstodon.org

                                                                                                                                                                                                              Installing on :nixos: , ugh... 😩

                                                                                                                                                                                                              • must use spyder from unstable, in stable it depends on insecure qtwebengine-5
                                                                                                                                                                                                              • it runs, but the interactive terminal needs spyder_kernels module
                                                                                                                                                                                                              • adding python3Packages.spyder-kernels to the python env, doesn't help
                                                                                                                                                                                                              • putting python3Packages.spyder{,-kernels} both into current Python env is a problem, how do I make a nixpkgs.overlays to pick certain Python packages from unstable?

                                                                                                                                                                                                              😑....

                                                                                                                                                                                                                [?]Marcus Adams » 🌐
                                                                                                                                                                                                                @gerowen@mastodon.social

                                                                                                                                                                                                                I had a thought the other day while reading and modifying CurlFlow. The LLM that Jan was using (a 30B Qwen Coder thing) got things probably 90% there, but it made some decisions that might have "worked", but weren't optimum, even by my novice standards. For example, for importing, it just had line after line of:

                                                                                                                                                                                                                import this
                                                                                                                                                                                                                import that

                                                                                                                                                                                                                With no error checking. So instead, I put this together.

                                                                                                                                                                                                                Continued...

                                                                                                                                                                                                                1/

                                                                                                                                                                                                                A screenshot of an updated import function with error checking:

# Attempt to import required libraries, gracefully exit in the event of a problem
libs = [ "platform", "gi", "subprocess", "threading", "os", "re", "sys" ]
libfail = ""

for i in libs:
	try:
		neededmod = __import__ ( i )
		globals () [ i ] = neededmod
	except ImportError:
		libfail += i + "\n"

if libfail != "":
	print ( f"Failed to import some libraries:\n\n{libfail}\nPress Enter to exit:" )
	input ()
	exit (1)

                                                                                                                                                                                                                Alt...A screenshot of an updated import function with error checking: # Attempt to import required libraries, gracefully exit in the event of a problem libs = [ "platform", "gi", "subprocess", "threading", "os", "re", "sys" ] libfail = "" for i in libs: try: neededmod = __import__ ( i ) globals () [ i ] = neededmod except ImportError: libfail += i + "\n" if libfail != "": print ( f"Failed to import some libraries:\n\n{libfail}\nPress Enter to exit:" ) input () exit (1)

                                                                                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                                                                                  Signups and topic submissions are now open for the Language Summit at EuroPython in Kraków!

                                                                                                                                                                                                                  ep2026.europython.eu/language-

                                                                                                                                                                                                                  The Python Language Summit is an event for the developers of Python implementations (CPython, PyPy, MicroPython, GraalPython, IronPython, and so on) to share information, discuss our shared problems, and — hopefully — solve them.

                                                                                                                                                                                                                  discuss.python.org/t/python-la

                                                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                                                    I'm postponing Python 3.15 beta 1 to Thursday to get the last few things in. We're close!

                                                                                                                                                                                                                    discuss.python.org/t/python-3-

                                                                                                                                                                                                                      Matt Marcha boosted

                                                                                                                                                                                                                      [?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
                                                                                                                                                                                                                      @mgorny@social.treehouse.systems

                                                                                                                                                                                                                      library (yes, the one that criticizes everything and everyone) is now vibecoded. Our future is truly bright!

                                                                                                                                                                                                                      Noticed because apparently "Claude" wrote a test that OOM-ed my system. But hey, protects against memory errors, so it's fine to vibecode your security critical components.

                                                                                                                                                                                                                      github.com/pyca/cryptography/p

                                                                                                                                                                                                                        [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                        @paulox@fosstodon.org

                                                                                                                                                                                                                        RE: mastodon.social/@posetteconf/1

                                                                                                                                                                                                                        My talk at POSETTE 2026 will be in the livestream on June 17 📆

                                                                                                                                                                                                                        I’ll walk through how generated columns changed across PostgreSQL versions, using Django as a real case 🔍

                                                                                                                                                                                                                        Curious how people are actually using them in production, or not using them at all 🤔

                                                                                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                                                                                          Python 3.14.5 release candidate is out now! Please test!

                                                                                                                                                                                                                          blog.python.org/2026/05/python

                                                                                                                                                                                                                          Next up, 3.15 beta 1 tomorrow.

                                                                                                                                                                                                                            [?]Michiel W. Beijen » 🌐
                                                                                                                                                                                                                            @mwb@fosstodon.org

                                                                                                                                                                                                                            Happy to be one of the speakers at PyGrunn, the full day "Python and friends" conference in Groningen, The Netherlands, where I'll be talking about HTTPXYZ

                                                                                                                                                                                                                            tildeweb.nl/~michiel/pygrunn-h

                                                                                                                                                                                                                            me presenting at PyAmsterdam last week

                                                                                                                                                                                                                            Alt...me presenting at PyAmsterdam last week

                                                                                                                                                                                                                              [?]Teddy / Domingo (🇨🇵/🇬🇧) » 🌐
                                                                                                                                                                                                                              @TeddyTheBest@framapiaf.org

                                                                                                                                                                                                                              (CVE-2026-31431) : Synthèse technique sur cette faille. Classifiée CVE-2026-31431 avec un score CVSS de 7.8/10, elle permet à n'importe quel processus tournant sur une machine de devenir , et ce, sur l'intégralité des majeures depuis 2017. Le proof-of-concept public fait 732 octets de . En une commande, on devient root. C'est incroyable !
                                                                                                                                                                                                                              linuxtricks.fr/news/10-logicie

                                                                                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                                                                                ⛄ One day until 3.15 feature freeze! ❄️

                                                                                                                                                                                                                                Four blockers, 10 broken buildbots and two PEPs still to merge? Business as usual on freeze eve, we'll get there!

                                                                                                                                                                                                                                hugovk.dev/next-release/

                                                                                                                                                                                                                                  [?]PyCon US » 🌐
                                                                                                                                                                                                                                  @pycon@fosstodon.org

                                                                                                                                                                                                                                  The Maintainers Summit at PyCon US 2026 is officially open for registration! 🎉

                                                                                                                                                                                                                                  📅 Saturday, May 16
                                                                                                                                                                                                                                  📍 Long Beach Convention Center, Room 201A

                                                                                                                                                                                                                                  👥 RSVP is preferred, but walk-ins are also welcome

                                                                                                                                                                                                                                  Join us for candid conversations about what it takes to keep Python’s open source ecosystem alive.

                                                                                                                                                                                                                                  Save your spot (included with your PyCon US ticket) → us.pycon.org/2026/events/maintainers-summit/

                                                                                                                                                                                                                                    [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                    @davep@fosstodon.org

                                                                                                                                                                                                                                    v2.19.0 is now available. This has a couple of fixes and a small cache-busting improvement: blog.davep.org/2026/05/04/blog

                                                                                                                                                                                                                                      [?]Marcus Adams » 🌐
                                                                                                                                                                                                                                      @gerowen@mastodon.social

                                                                                                                                                                                                                                      Made some minor tweaks to CurlFlow today. Made the "Add New Download" dialog slightly wider because I didn't like how cramped it felt when pasting a URL. Also added the program version to the title bar.

                                                                                                                                                                                                                                      Link: gitlab.com/gerowen/curlflow

                                                                                                                                                                                                                                        Marcos Dione boosted

                                                                                                                                                                                                                                        [?]rixx » 🌐
                                                                                                                                                                                                                                        @rixx@chaos.social

                                                                                                                                                                                                                                        The new pip version comes with experimental lockfile support *and* `--uploaded-prior-to` for dependency cooldowns, neat.

                                                                                                                                                                                                                                          [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                          @paulox@fosstodon.org

                                                                                                                                                                                                                                          Second talk of the morning at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                          Now listening to Vjeran Grozdanic from Sentry🎤

                                                                                                                                                                                                                                          Talking about encrypting data in Django without complex migrations, with a drop-in field that can handle both old plain text and new encrypted data on the fly… very curious about this approach 🙂

                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                            [?]Marcus Adams » 🌐
                                                                                                                                                                                                                                            @gerowen@mastodon.social

                                                                                                                                                                                                                                            I tinkered around and have thrown together a basic graphical download manager for if anybody wants to check it out.

                                                                                                                                                                                                                                            AI Disclaimer: Most of the original work was done as an experiment with some free and locally hosted LLMs.

                                                                                                                                                                                                                                            Link: gitlab.com/gerowen/curlflow

                                                                                                                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                                                                                                                              I've started the first of three releases this week! 🚀

                                                                                                                                                                                                                                              hugovk.dev/next-release/

                                                                                                                                                                                                                                              Upcoming Python releases

Saturday, 2 May 2026
Today!
3.14.5 candidate 1

Tuesday, 5 May 2026
3 days
3.15.0 beta 1

Friday, 8 May 2026
6 days
3.14.5

                                                                                                                                                                                                                                              Alt...Upcoming Python releases Saturday, 2 May 2026 Today! 3.14.5 candidate 1 Tuesday, 5 May 2026 3 days 3.15.0 beta 1 Friday, 8 May 2026 6 days 3.14.5

                                                                                                                                                                                                                                                [?]Teddy / Domingo (🇨🇵/🇬🇧) » 🌐
                                                                                                                                                                                                                                                @TeddyTheBest@framapiaf.org

                                                                                                                                                                                                                                                Exploit Linux local pour passer root : (CVE-2026-31431)
                                                                                                                                                                                                                                                La société Theori a publié un exploit (écrit avec 3.10) pour le noyau x86-64 pour passer en local. Il utilise un dans les sockets AF_ALG sur une opération AEAD qui existe depuis 2017 (commit).
                                                                                                                                                                                                                                                linuxfr.org/users/vstinner/jou

                                                                                                                                                                                                                                                  [?]Marcus Adams » 🌐
                                                                                                                                                                                                                                                  @gerowen@mastodon.social

                                                                                                                                                                                                                                                  Tinkering around with making my own frontend to curl to act as a simple download manager. I noticed uGet hadn't been updated in multiple years, and I never really used the "categories" feature of it myself, so I had the idea of making my own very basic alternative. It supports basic HTTP auth in the event a web folder is password protected.

                                                                                                                                                                                                                                                  A screenshot of a basic user interface with a "Save to" text entry box, a "Plus" button on the top left for adding downloads and two running downloads both with a pause and cancel button.

                                                                                                                                                                                                                                                  Alt...A screenshot of a basic user interface with a "Save to" text entry box, a "Plus" button on the top left for adding downloads and two running downloads both with a pause and cancel button.

                                                                                                                                                                                                                                                    AodeRelay boosted

                                                                                                                                                                                                                                                    [?]Dendrobatus Azureus » 🌐
                                                                                                                                                                                                                                                    @Dendrobatus_Azureus@mastodon.bsd.cafe

                                                                                                                                                                                                                                                    This is the old cooling configuration of my Raspberry Pi5. A simple aluminum block cooled by a relatively good yet small fan. There are different ways to read the fan and temperatures of this SBC which may need some simple Python programming

                                                                                                                                                                                                                                                    SBC Pi5 open

                                                                                                                                                                                                                                                    Alt...SBC Pi5 open

                                                                                                                                                                                                                                                      [?]PyCon US » 🌐
                                                                                                                                                                                                                                                      @pycon@fosstodon.org

                                                                                                                                                                                                                                                      What if you could hide secret messages in images using ? Join Ariel Ortiz at 2026 for "One Pixel at a Time: DIY Image Manipulation with Pillow for Fun and Profit" on May 14th 🎨 us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                      Register now: us.pycon.org/2026/accounts/das

                                                                                                                                                                                                                                                        [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                        @treyhunner@mastodon.social

                                                                                                                                                                                                                                                        Python Tip #121 (of 365):

                                                                                                                                                                                                                                                        If your command-line script has a couple functions, put remaining logic in a main function.

                                                                                                                                                                                                                                                        Python knows nothing about main functions but other Python developers do.

                                                                                                                                                                                                                                                        Once your script grows a function or 2:

                                                                                                                                                                                                                                                        1. put all remaining logic in a main function
                                                                                                                                                                                                                                                        2. write a if __name__ == "__main__" conditional guard that calls main()
                                                                                                                                                                                                                                                        3. consider extracting argument-parsing logic into its own function: I often call this parse_args

                                                                                                                                                                                                                                                        🧵 (1/3)

                                                                                                                                                                                                                                                          Debacle boosted

                                                                                                                                                                                                                                                          [?]mathieui » 🌐
                                                                                                                                                                                                                                                          @mathieui@piaille.fr

                                                                                                                                                                                                                                                          I have released version 1.15 of slixmpp, the python XMPP library.

                                                                                                                                                                                                                                                          Besides the continuation of @nicoco ’s quest to add every XEP under the sun, the most notable change is that building the rust module is now optional (i.e. in the absence of sufficient tools, slixmpp will happily be installed using the pure-python fallback for the JID module, which is kind of important for Mac OS or Winslop platforms).

                                                                                                                                                                                                                                                          blog.mathieui.net/slixmpp-1-15

                                                                                                                                                                                                                                                            [?]DrBob, 🧠 Mechanic » 🌐
                                                                                                                                                                                                                                                            @drrjv@vmst.io

                                                                                                                                                                                                                                                            Yikes, forget about Linux security

                                                                                                                                                                                                                                                            Copy Fail: 732 Bytes to Root on Every Major Distribution

                                                                                                                                                                                                                                                            “A single 732-byte script can edit a setuid binary and obtain root on essentially all Linux distributions shipped since 2017.

                                                                                                                                                                                                                                                            The kernel never marks the corrupted page dirty for writeback, so the file on disk remains unchanged and ordinary on-disk checksum comparisons miss the modification.”

                                                                                                                                                                                                                                                            bit.ly/4w1TWu3

                                                                                                                                                                                                                                                            Text Shot: This finding was AI-assisted, but began with an insight from Theori researcher Taeyang Lee, who was studying how the Linux crypto subsystem interacts with page-cache-backed data. He used Xint Code to scale his research across the entire crypto subsystem, and Copy Fail was the most critical finding in the report.

This is the first in a two-part series:

Part 1 (this post): The bug and local privilege escalation
Part 2: Kubernetes container escape
What Makes Copy Fail Different

The Linux kernel has had high-profile privilege escalation bugs before. Dirty Cow (CVE-2016-5195) required winning a race condition in the VM subsystem's copy-on-write path. It often needed multiple attempts and sometimes crashed the system. Dirty Pipe (CVE-2022-0847) was version-specific and required precise pipe buffer manipulation.

Copy Fail is a straight-line logic flaw. It triggers without races, retries, or crash-prone timing windows.

                                                                                                                                                                                                                                                            Alt...Text Shot: This finding was AI-assisted, but began with an insight from Theori researcher Taeyang Lee, who was studying how the Linux crypto subsystem interacts with page-cache-backed data. He used Xint Code to scale his research across the entire crypto subsystem, and Copy Fail was the most critical finding in the report. This is the first in a two-part series: Part 1 (this post): The bug and local privilege escalation Part 2: Kubernetes container escape What Makes Copy Fail Different The Linux kernel has had high-profile privilege escalation bugs before. Dirty Cow (CVE-2016-5195) required winning a race condition in the VM subsystem's copy-on-write path. It often needed multiple attempts and sometimes crashed the system. Dirty Pipe (CVE-2022-0847) was version-specific and required precise pipe buffer manipulation. Copy Fail is a straight-line logic flaw. It triggers without races, retries, or crash-prone timing windows.

                                                                                                                                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                                                                                                                                              The reverts are done for 3.14 and 3.15 and initial test results look good, so we're ready for release.

                                                                                                                                                                                                                                                              Plan:

                                                                                                                                                                                                                                                              * 3.14.5rc1 on Saturday 2nd (new)
                                                                                                                                                                                                                                                              * 3.15.0b1 on Tuesday 5th (already planned)
                                                                                                                                                                                                                                                              * 3.14.5 final on Friday 8th (new)

                                                                                                                                                                                                                                                              discuss.python.org/t/reverting

                                                                                                                                                                                                                                                                mathieui boosted

                                                                                                                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                                                                                                                PEP news!

                                                                                                                                                                                                                                                                PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python

                                                                                                                                                                                                                                                                Accepted ✅

                                                                                                                                                                                                                                                                "After extensive deliberation the Steering Council has decided to accept PEP 831 (Frame Pointers Everywhere: yahdah yahdah), because it’s clearly the correct and necessary thing… although we wish the PEP and its title had been a lot shorter, given how much of an obvious decision it is. Congrats!"

                                                                                                                                                                                                                                                                discuss.python.org/t/pep-831-f

                                                                                                                                                                                                                                                                Days until feature freeze: 4

                                                                                                                                                                                                                                                                  Taggart :ifin: boosted

                                                                                                                                                                                                                                                                  [?]IFIN - The Independent Federated Intelligence Network » 🌐
                                                                                                                                                                                                                                                                  @ifin@infosec.exchange

                                                                                                                                                                                                                                                                  The worms keep worming, unfortunately. The "Mini Shai-Hulud" attack appears to pivot to with a compromise of a library:

                                                                                                                                                                                                                                                                  discourse.ifin.network/t/pytor

                                                                                                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                                                                                                    More in the final 3.15 alpha:

                                                                                                                                                                                                                                                                    🖨️ pprint: new `expand` arg for Black-like output (let's make it default?)
                                                                                                                                                                                                                                                                    🧛 bytes.replace() count arg can be a keyword
                                                                                                                                                                                                                                                                    🌊 wave: IEEE floating-point WAVE audio support, new getformat()/setformat()
                                                                                                                                                                                                                                                                    ⏱️ timeit: configurable target time for autorange()

                                                                                                                                                                                                                                                                    Please test and give feedback!

                                                                                                                                                                                                                                                                    Example pprint without and with expand=True.

>>> pprint(config)
{'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {'engine': 'postgresql',
              'host': 'db-primary.internal',
              'pool': {'overflow': 10, 'size': 20, 'timeout': 30}},
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443}
>>>
>>> pprint(config, expand=True)
{
 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {
  'engine': 'postgresql',
  'host': 'db-primary.internal',
  'pool': {'overflow': 10, 'size': 20, 'timeout': 30},
 },
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443,
}

                                                                                                                                                                                                                                                                    Alt...Example pprint without and with expand=True. >>> pprint(config) {'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': {'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}}, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443} >>> >>> pprint(config, expand=True) { 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': { 'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}, }, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443, }

                                                                                                                                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                                                                                                                                      Well, let's fix those pprint defaults!

                                                                                                                                                                                                                                                                      mastodon.social/@treyhunner/11

                                                                                                                                                                                                                                                                      Which do you prefer?

                                                                                                                                                                                                                                                                      github.com/python/cpython/issu
                                                                                                                                                                                                                                                                      github.com/python/cpython/pull

                                                                                                                                                                                                                                                                      main produces:

{'database': {'host': 'db.example.com',
              'options': {'connect_timeout': 5,
                          'pool_size': 10,
                          'ssl': True,
                          'sslmode': 'verify-full'},
              'port': 5432},
 'logging': {'file': '/var/log/app.log',
             'handlers': {'console': {'enabled': True},
                          'file': {'max_bytes': 1048576, 'rotate': True}},
             'level': 'INFO'}}

                                                                                                                                                                                                                                                                      Alt...main produces: {'database': {'host': 'db.example.com', 'options': {'connect_timeout': 5, 'pool_size': 10, 'ssl': True, 'sslmode': 'verify-full'}, 'port': 5432}, 'logging': {'file': '/var/log/app.log', 'handlers': {'console': {'enabled': True}, 'file': {'max_bytes': 1048576, 'rotate': True}}, 'level': 'INFO'}}

                                                                                                                                                                                                                                                                      This PR produces:

{
    'database': {
        'host': 'db.example.com',
        'options': {'connect_timeout': 5, 'pool_size': 10, 'ssl': True, 'sslmode': 'verify-full'},
        'port': 5432,
    },
    'logging': {
        'file': '/var/log/app.log',
        'handlers': {'console': {'enabled': True}, 'file': {'max_bytes': 1048576, 'rotate': True}},
        'level': 'INFO',
    },
}

                                                                                                                                                                                                                                                                      Alt...This PR produces: { 'database': { 'host': 'db.example.com', 'options': {'connect_timeout': 5, 'pool_size': 10, 'ssl': True, 'sslmode': 'verify-full'}, 'port': 5432, }, 'logging': { 'file': '/var/log/app.log', 'handlers': {'console': {'enabled': True}, 'file': {'max_bytes': 1048576, 'rotate': True}}, 'level': 'INFO', }, }

                                                                                                                                                                                                                                                                        [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                        @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                        RE: fosstodon.org/@europython/1164

                                                                                                                                                                                                                                                                        🇵🇱 🐍 la billetterie pour l'édition 2026 de @europython est ouverte. La conférence aura lieu du 13 au 19 juillet à Cracovie.

                                                                                                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                                                                                                        [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                        @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                        RE: fosstodon.org/@stuartm/1164416

                                                                                                                                                                                                                                                                        un article de (@stuartm) qui explique les équivalences entre les commandes principales de pdm et celles de uv.
                                                                                                                                                                                                                                                                        - uv init → pdm init (avec un wizard ergonomique)
                                                                                                                                                                                                                                                                        - uv add django → pdm add django
                                                                                                                                                                                                                                                                        - uv lock → pdm lock
                                                                                                                                                                                                                                                                        - uv sync → pdm sync
                                                                                                                                                                                                                                                                        - uv run manage.py runserver
                                                                                                                                                                                                                                                                        - possibilité d'ajouter un délai de cooldown dans la mise à jour des dépendances : pdm lock --exclude-newer 7d

                                                                                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                          Python Tip #119 (of 365):

                                                                                                                                                                                                                                                                          Don't just rely on the built-in types for argparse's type parameter

                                                                                                                                                                                                                                                                          You can create your own argparse "type" with a callable that accepts a string and returns the parsed object, raising a ValueError (with a user-facing message) if parsing failed.

                                                                                                                                                                                                                                                                          If you wanted to accept a YYYY-MM-DD date for an argument, you could make a date function:

                                                                                                                                                                                                                                                                          import datetime as dt

                                                                                                                                                                                                                                                                          def date(string):
                                                                                                                                                                                                                                                                          return dt.‍date.strptime(string, "%Y-%m-%d")

                                                                                                                                                                                                                                                                          ...

                                                                                                                                                                                                                                                                          🧵 (1/4)

                                                                                                                                                                                                                                                                            [?]FediFollows » 🌐
                                                                                                                                                                                                                                                                            @FediFollows@social.growyourown.services

                                                                                                                                                                                                                                                                            accounts to follow:

                                                                                                                                                                                                                                                                            @ThePSF - Python Software Foundation official account
                                                                                                                                                                                                                                                                            @pypi - Python Package Index
                                                                                                                                                                                                                                                                            @django - High-level Python web framework
                                                                                                                                                                                                                                                                            @pillow - FOSS fork of Python Imaging Library
                                                                                                                                                                                                                                                                            @pythonhub - Highlighting interesting articles about Python

                                                                                                                                                                                                                                                                            PODCASTS
                                                                                                                                                                                                                                                                            @talkpython - Talk Python
                                                                                                                                                                                                                                                                            @pythonbytes - Python Bites

                                                                                                                                                                                                                                                                            🧵 Thread page 1 of 5

                                                                                                                                                                                                                                                                              [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                              @pycon@fosstodon.org

                                                                                                                                                                                                                                                                              2026 onsite volunteer signups are now OPEN!

                                                                                                                                                                                                                                                                              Joining us at PyCon US and want to be part of the team that helps make the magic happen? This is your chance to support the Python community, meet amazing people, and get involved behind the scenes - and we need YOU!

                                                                                                                                                                                                                                                                              Sign up to volunteer today! 💙

                                                                                                                                                                                                                                                                              👉 pycon.blogspot.com/2026/04/pyc

                                                                                                                                                                                                                                                                              PyCon US 2026 - Calling all volunteers; onsite-volunteer signups are now open! us.pycon.org/2026/volunteer/

                                                                                                                                                                                                                                                                              Alt...PyCon US 2026 - Calling all volunteers; onsite-volunteer signups are now open! us.pycon.org/2026/volunteer/

                                                                                                                                                                                                                                                                                [?]Flohw » 🌐
                                                                                                                                                                                                                                                                                @flohw@pouet.chapril.org

                                                                                                                                                                                                                                                                                Je recherche toujours quelque chose autour de Lyon, avec du télétravail 3 à 5 jours par semaine, dans le web, avec de l'éco conception, si possible en scop. Je suis dev senior/lead dev Symfony/Angular, pas mal de connaissances docker, je peux me plonger dans des bugs assez farfelus, profil plutôt adaptable. J'aimerai bien découvrir le

                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                  RE: fosstodon.org/@djangolondon/11

                                                                                                                                                                                                                                                                                  I’m happy to be speaking for the first time at the @djangolondon meetup on Thursday, May 7. 🎉

                                                                                                                                                                                                                                                                                  My talk will show Django’s GeneratedField through plenty of real-world examples. 🧩

                                                                                                                                                                                                                                                                                  It would be really nice to meet you there. 👋

                                                                                                                                                                                                                                                                                    [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                    @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                    🌐🤖 AI Track Spotlight:
                                                                                                                                                                                                                                                                                    At 2026, Fabio Pliger shows us how to run models in the browser using as a sandboxed runtime in "Distributing AI with Python in the Browser: Edge Inference and Flexibility Without Infrastructure."

                                                                                                                                                                                                                                                                                    us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                                                      [?]Michiel W. Beijen » 🌐
                                                                                                                                                                                                                                                                                      @mwb@fosstodon.org

                                                                                                                                                                                                                                                                                      Why I forked httpx - the popular python package:

                                                                                                                                                                                                                                                                                      tildeweb.nl/~michiel/httpxyz.h

                                                                                                                                                                                                                                                                                        [?]Michiel W. Beijen » 🌐
                                                                                                                                                                                                                                                                                        @mwb@fosstodon.org

                                                                                                                                                                                                                                                                                        So for all Django-developers: it took a while but I now finally released my package "django-allresponses":

                                                                                                                                                                                                                                                                                        django-allresponses.x14.nl/

                                                                                                                                                                                                                                                                                        It contains HTTPResponse subclasses for ALL http status codes, which grew out of my frustration that there WAS a subclass for "410 Gone" which is hardly ever used but none for "204 No Content" or "201 Created" which I use all the time!

                                                                                                                                                                                                                                                                                          [?]Lobsters » 🤖 🌐
                                                                                                                                                                                                                                                                                          @lobsters@mastodon.social

                                                                                                                                                                                                                                                                                          [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                          @davep@fosstodon.org

                                                                                                                                                                                                                                                                                          v2.18.0 is now a thing, with a richer tooltip in the graph, modified times shown for modified posts, and a wee feature request by @andyc

                                                                                                                                                                                                                                                                                          blog.davep.org/2026/04/28/blog

                                                                                                                                                                                                                                                                                            [?]Jannis Leidel » 🌐
                                                                                                                                                                                                                                                                                            @jezdez@publicidentity.net

                                                                                                                                                                                                                                                                                            Quick reminder: Registration for the Packaging Summit at PyCon US 2026 closes this Thursday, April 30 AoE (Anywhere on Earth).

                                                                                                                                                                                                                                                                                            Friday, May 15, 1:45–5:45 PM in Room 201A at the Long Beach Convention Center. Pradyun, CAM and I are co-chairing again.

                                                                                                                                                                                                                                                                                            All details (including signup links): us.pycon.org/2026/events/packa

                                                                                                                                                                                                                                                                                              [?]Seth Larson » 🌐
                                                                                                                                                                                                                                                                                              @sethmlarson@mastodon.social

                                                                                                                                                                                                                                                                                              pip 26.1 is an incredible release, thank you to the pip maintainers!! 💜

                                                                                                                                                                                                                                                                                              – Relative dependency cooldown support!
                                                                                                                                                                                                                                                                                              – Installing from pylock.toml
                                                                                                                                                                                                                                                                                              – Multiple security fixes

                                                                                                                                                                                                                                                                                              Read the full blog post by @ichard26

                                                                                                                                                                                                                                                                                              ichard26.github.io/blog/2026/0

                                                                                                                                                                                                                                                                                                [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                PEP news!

                                                                                                                                                                                                                                                                                                PEP 788 – Protecting the C API from Interpreter Finalization: accepted

                                                                                                                                                                                                                                                                                                "Given that we have received no concerns from the C API WG or from the binding ecosystem, the SC is happy to accept the PEP."

                                                                                                                                                                                                                                                                                                discuss.python.org/t/pep-788-p

                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                  un article de @andrewnez sur les failles de sécurité des : nesbitt.io/2026/04/28/github-a

                                                                                                                                                                                                                                                                                                  Conseils :
                                                                                                                                                                                                                                                                                                  - TLDR : analyser vos fichiers de workflow avec docs.zizmor.sh/
                                                                                                                                                                                                                                                                                                  - éviter les déclencheurs pull_request_target et issue_comment
                                                                                                                                                                                                                                                                                                  - utiliser le TrustedPublishing pour et
                                                                                                                                                                                                                                                                                                  - bannir l'interpolation $ sur des valeurs non maitrisées
                                                                                                                                                                                                                                                                                                  - initier le workflow avec permissions: {}
                                                                                                                                                                                                                                                                                                  - figer une action avec un hash de commit plutôt qu'un tag muable

                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                  Richard Si, un mainteneur de Pip a publié un article présentant les nouveautés venant avec Pip 26.1 : ichard26.github.io/blog/2026/0.

                                                                                                                                                                                                                                                                                                  Notamment :
                                                                                                                                                                                                                                                                                                  - la gestion (expérimentale) des lockfiles
                                                                                                                                                                                                                                                                                                  - la notion de cooldown pour la mise à jour des dépendances (ce délai permettant d'identifier des vulnérabilités dans la nouvelle version d'un paquet)

                                                                                                                                                                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                  🧊 One ~~eek~~ week until 3.15 feature freeze! 🧊

                                                                                                                                                                                                                                                                                                  hugovk.dev/next-release/

                                                                                                                                                                                                                                                                                                  At least 1 PEP still being implemented, 4 needing docs, and 5 awaiting a Steering Council decision.

                                                                                                                                                                                                                                                                                                    [?]Michiel W. Beijen » 🌐
                                                                                                                                                                                                                                                                                                    @mwb@fosstodon.org

                                                                                                                                                                                                                                                                                                    We've released a new version of httpxyz, our fork of httpx; we fixed many bugs in httpx and it's much faster now! We encourage everyone using httpx to move over!

                                                                                                                                                                                                                                                                                                    Read the blog post: tildeweb.nl/~michiel/httpxyz-o

                                                                                                                                                                                                                                                                                                      [?]Henry³ » 🌐
                                                                                                                                                                                                                                                                                                      @henryiii@fosstodon.org

                                                                                                                                                                                                                                                                                                      Packaging 26.2 is out! Quick fix for pyemscripen tags, stable and faster pickle support, and a bit of polish. This is the release in pip 26.1, which came out yesterday. It’s our last release to support Python 3.8, we’re a little behind dropping Pythons. github.com/pypa/packaging/rele

                                                                                                                                                                                                                                                                                                        [?]Seth Larson » 🌐
                                                                                                                                                                                                                                                                                                        @sethmlarson@mastodon.social

                                                                                                                                                                                                                                                                                                        RE: mastodon.social/@andrewnez/116

                                                                                                                                                                                                                                                                                                        Workflow security continues to be a common cause of compromises of open source projects.

                                                                                                                                                                                                                                                                                                        If you're using GitHub Actions and don't want this to happen to your project: use Zizmor and treat the findings seriously, especially insecure triggers and user-controllable template injections.

                                                                                                                                                                                                                                                                                                        docs.zizmor.sh

                                                                                                                                                                                                                                                                                                          Areskul boosted

                                                                                                                                                                                                                                                                                                          [?]Lanie » 🌐
                                                                                                                                                                                                                                                                                                          @RareBird15@allovertheplace.ca

                                                                                                                                                                                                                                                                                                          Let's talk CLI/TUI and Developer Workflows!

                                                                                                                                                                                                                                                                                                          I’m looking to refresh my local toolkit and I’m curious: what are the absolute "must-have" CLI or TUI programs in your current rotation?

                                                                                                                                                                                                                                                                                                          Whether it's a specialized utility for a specific language, a terminal-based interface for a common service, or a workflow-changing alias, I want to hear about it. I’m especially interested in tools that prioritize keyboard-driven navigation and accessibility.

                                                                                                                                                                                                                                                                                                          My Current Favorites:

                                                                                                                                                                                                                                                                                                          To get the ball rolling, here are a few tools I’ve been leaning on lately:

                                                                                                                                                                                                                                                                                                          • uv — Fast, reliable Python package and project management.
                                                                                                                                                                                                                                                                                                          • fzf & ripgrep — The classic duo for fuzzy finding and searching.
                                                                                                                                                                                                                                                                                                          • tmux — For session management and persistent terminal workspaces.
                                                                                                                                                                                                                                                                                                          • jq / yq — Essential for wrangling JSON and YAML without leaving the prompt.

                                                                                                                                                                                                                                                                                                          What about you?

                                                                                                                                                                                                                                                                                                          1. What is one tool you've discovered recently that you can't live without?
                                                                                                                                                                                                                                                                                                          2. Are there any TUI-based clients for web services (like Mastodon, GitHub, or RSS) that you recommend?
                                                                                                                                                                                                                                                                                                          3. Do you have a favorite "hidden gem" script or small utility?

                                                                                                                                                                                                                                                                                                          Mentions & Groups

                                                                                                                                                                                                                                                                                                          @programming
                                                                                                                                                                                                                                                                                                          @linux @terminal_u_i@lemmy.ml @selfhosted

                                                                                                                                                                                                                                                                                                          Hashtags

                                                                                                                                                                                                                                                                                                            [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                            @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                            I just published a recap of my DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                            It’s a timeline of all the posts I shared live during the conference, with photos and small moments along the way.

                                                                                                                                                                                                                                                                                                            A simple way to relive the experience from start to sprints 🙂

                                                                                                                                                                                                                                                                                                            paulox.net/2026/04/27/my-djang

                                                                                                                                                                                                                                                                                                              [?]Nicolas Delsaux » 🌐
                                                                                                                                                                                                                                                                                                              @Riduidel@framapiaf.org

                                                                                                                                                                                                                                                                                                              Marcos Dione boosted

                                                                                                                                                                                                                                                                                                              [?]/G|T|R|O|N|I|X\ :python: :emacs: :nix: :linux: » 🌐
                                                                                                                                                                                                                                                                                                              @gtronix@infosec.exchange

                                                                                                                                                                                                                                                                                                              "PyPI package with 1.1M monthly downloads hacked to push infostealer"

                                                                                                                                                                                                                                                                                                              "[...] An attacker pushed a malicious version of the popular elementary-data package Python Package Index (PyPI) to steal sensitive developer data and cryptocurrency wallets."

                                                                                                                                                                                                                                                                                                              bleepingcomputer.com/news/secu

                                                                                                                                                                                                                                                                                                                [?]Seth Larson » 🌐
                                                                                                                                                                                                                                                                                                                @sethmlarson@mastodon.social

                                                                                                                                                                                                                                                                                                                pip 26.1 is an incredible release, thank you to the pip maintainers!! 💜

                                                                                                                                                                                                                                                                                                                – Relative dependency cooldown support!
                                                                                                                                                                                                                                                                                                                – Installing from pylock.toml
                                                                                                                                                                                                                                                                                                                – Multiple security fixes

                                                                                                                                                                                                                                                                                                                Read the full blog post by @ichard26

                                                                                                                                                                                                                                                                                                                ichard26.github.io/blog/2026/0

                                                                                                                                                                                                                                                                                                                  [?]Sheena » 🌐
                                                                                                                                                                                                                                                                                                                  @sheena@fosstodon.org

                                                                                                                                                                                                                                                                                                                  I've gotten a bunch of new followers on a few different channels, so I figured I should re-introduce myself.

                                                                                                                                                                                                                                                                                                                  Hi, I'm Sheena.
                                                                                                                                                                                                                                                                                                                  🧗‍♀️🏕️🧭🇿🇦🖊️🛠️🔥🐕🎸👩🏻‍💻 🧑‍🏫📐

                                                                                                                                                                                                                                                                                                                  I'm one of the directors of the Software Foundation (), and I do my best to represent the African communities I’m a part of.

                                                                                                                                                                                                                                                                                                                  I've been writing code since my early teens, and I've been teaching for about 6 years.

                                                                                                                                                                                                                                                                                                                  I founded prelude.tech. We do all things tech/ed:

                                                                                                                                                                                                                                                                                                                    [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                    @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                    I've released v2.17.0, which adds optional "email me your comments" support, and also an optional graph view of the blog.

                                                                                                                                                                                                                                                                                                                    blog.davep.org/2026/04/27/blog

                                                                                                                                                                                                                                                                                                                      AodeRelay boosted

                                                                                                                                                                                                                                                                                                                      [?]GNU/Linux.ch » 🌐
                                                                                                                                                                                                                                                                                                                      @gnulinux@social.anoxinon.de

                                                                                                                                                                                                                                                                                                                      Python: Paketbau und Installation

                                                                                                                                                                                                                                                                                                                      Ein Python-Skript zu schreiben, kann man schnell erlernen. Doch wie sieht es mit der Paketierung und der Installation aus? Dieser Artikel liefert Antworten.

                                                                                                                                                                                                                                                                                                                      gnulinux.ch/python-paketbau-un

                                                                                                                                                                                                                                                                                                                        [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                        @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                        Bon ben en fait la réponse était très simple : dans le fichier d'origine il y avait un "import itertools" qui n'était pas dans le fichier destination, et j'ai pas vu ça et donc pas pensé à le rajouter.
                                                                                                                                                                                                                                                                                                                        Donc "chain.from_iterable" était reconnu dans le fichier source, mais logiquement pas dans le fichier où je l'ai collé...

                                                                                                                                                                                                                                                                                                                        Comme quoi commencer par vérifier les trucs les plus cons c'est généralement une bonne idée...

                                                                                                                                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                          Python Tip #116 (of 365):

                                                                                                                                                                                                                                                                                                                          Use pyupgrade to modernize your Python idioms.

                                                                                                                                                                                                                                                                                                                          Either install pyupgrade or just run "uvx pyupgrade" against your code.

                                                                                                                                                                                                                                                                                                                          pypi.org/project/pyupgrade/

                                                                                                                                                                                                                                                                                                                          pyupgrade will unneeded Python 2-isms like these:

                                                                                                                                                                                                                                                                                                                          # coding: utf-8
                                                                                                                                                                                                                                                                                                                          from __future__ import unicode_literals

                                                                                                                                                                                                                                                                                                                          It'll also change "super(MyClassName, self)" to super()

                                                                                                                                                                                                                                                                                                                          And it'll remove unnecessary inheritance from the default object class. "class MyClass(object):" will become "class MyClass:".

                                                                                                                                                                                                                                                                                                                          🧵 (1/2)

                                                                                                                                                                                                                                                                                                                            [?]Stan 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                            @stanfromireland@mastodon.social

                                                                                                                                                                                                                                                                                                                            3.15 will be the most colorful version yet! 🎨 🐍

                                                                                                                                                                                                                                                                                                                              Django boosted

                                                                                                                                                                                                                                                                                                                              [?]Tim Schilling » 🌐
                                                                                                                                                                                                                                                                                                                              @CodenameTim@mastodon.social

                                                                                                                                                                                                                                                                                                                              Have you been looking for ways to level up as a Django developer?

                                                                                                                                                                                                                                                                                                                              better-simple.com/django/2026/

                                                                                                                                                                                                                                                                                                                              I started a new business back in February, but did so with a "quiet" roll out. Here's where I start being a bit louder. Whether you want mentorship, coaching or tutoring, I'd like to help you.

                                                                                                                                                                                                                                                                                                                              Side note, it's a big win for me to be able to work with four people already.

                                                                                                                                                                                                                                                                                                                                AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                [?]dewomser » 🌐
                                                                                                                                                                                                                                                                                                                                @dewomser@social.tchncs.de


                                                                                                                                                                                                                                                                                                                                Was rauskommt, wenn man die KI zu Knowledgegraph und Mastodon fragt, ist schon erstaunlich. Es ist ein gut dokumentiertes Pythonskrpt geworden.
                                                                                                                                                                                                                                                                                                                                Das Netz wabert bevor es eine stabile Form annimmt.
                                                                                                                                                                                                                                                                                                                                untergang.de/index.php/inhalt/

                                                                                                                                                                                                                                                                                                                                  [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                  @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                  PEP news!

                                                                                                                                                                                                                                                                                                                                  PEP 829 – Package Startup Configuration Files: accepted

                                                                                                                                                                                                                                                                                                                                  "The SC views PEP 829 as a sensible improvement to the interpreter layer, compatible with and not precluding future work in the installer and packaging standards space. We encourage contributors interested in that broader direction to consider proposing complementary standards. Accepting PEP 829 is not a statement that the interpreter layer is the end of this work."

                                                                                                                                                                                                                                                                                                                                  discuss.python.org/t/pep-829-s

                                                                                                                                                                                                                                                                                                                                    [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                    @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                    Python Tip #114 (of 365):

                                                                                                                                                                                                                                                                                                                                    Instead of yielding in a loop, use yield-from.

                                                                                                                                                                                                                                                                                                                                    (Technically the 2 are slightly different, but that fact rarely matters.)

                                                                                                                                                                                                                                                                                                                                    Within a generator function, if you need to "yield" each item from a specific iterable, you could loop over the iterable and "yield" each item.

                                                                                                                                                                                                                                                                                                                                    🧵 (1/3)

                                                                                                                                                                                                                                                                                                                                      [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                      @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                      Just recorded my talk for @posetteconf 2026:
                                                                                                                                                                                                                                                                                                                                      "PostgreSQL Generated Columns by Example" 🐘

                                                                                                                                                                                                                                                                                                                                      Tune in on June 17th to watch my talk: 📆
                                                                                                                                                                                                                                                                                                                                      posetteconf.com/2026/talks/pos

                                                                                                                                                                                                                                                                                                                                      Check also the schedule for many more PostgreSQL talks!👇 posetteconf.com/2026/

                                                                                                                                                                                                                                                                                                                                      Thanks @clairegiordano for the support during the recording.🙏

                                                                                                                                                                                                                                                                                                                                      CC @pycon @django @ubuntu

                                                                                                                                                                                                                                                                                                                                      Selfie of me in front of the pc

                                                                                                                                                                                                                                                                                                                                      Alt...Selfie of me in front of the pc

                                                                                                                                                                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                        PEP news:

                                                                                                                                                                                                                                                                                                                                        PEP 661 – Sentinel Values: accepted

                                                                                                                                                                                                                                                                                                                                        Originally created in 2021, and revived just in time for Python 3.15.

                                                                                                                                                                                                                                                                                                                                        discuss.python.org/t/pep-661-s

                                                                                                                                                                                                                                                                                                                                        PEP 806 – Mixed sync/async context managers with precise async marking: rejected

                                                                                                                                                                                                                                                                                                                                        There's a high cost to adding new syntax. "The problem this PEP addresses, while genuine, does not in our view meet that bar."

                                                                                                                                                                                                                                                                                                                                        discuss.python.org/t/pep-806-m

                                                                                                                                                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                          Python Tip #113 (of 365):

                                                                                                                                                                                                                                                                                                                                          Instead of functools.lru_cache(maxsize=None) use functools.cache.

                                                                                                                                                                                                                                                                                                                                          Both of these decorators will "memoize" a function, caching all arguments passed to it.

                                                                                                                                                                                                                                                                                                                                          lru_cache is great when you want a maximum size to your cache... but if an unlimited cache size is acceptable, just use functools.cache.

                                                                                                                                                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                            Current status of PEPs for 3.15 with 12 days until feature freeze:

                                                                                                                                                                                                                                                                                                                                            Informational: 1 (release schedule)

                                                                                                                                                                                                                                                                                                                                            Open (under consideration): 24

                                                                                                                                                                                                                                                                                                                                            Submitted for Steering Council decision: 8

                                                                                                                                                                                                                                                                                                                                            Accepted (may not be implemented yet): 7

                                                                                                                                                                                                                                                                                                                                            Finished (done, with a stable interface): 5

                                                                                                                                                                                                                                                                                                                                            Deferred (postponed pending further research or updates): 2

                                                                                                                                                                                                                                                                                                                                            Rejected, Superseded, and Withdrawn: 2

                                                                                                                                                                                                                                                                                                                                            (Some are further along but the PEP's not updated yet)

                                                                                                                                                                                                                                                                                                                                            peps.python.org
                                                                                                                                                                                                                                                                                                                                            hugovk.dev/next-release/

                                                                                                                                                                                                                                                                                                                                              [?]Fabien LOISON (FLOZz) » 🌐
                                                                                                                                                                                                                                                                                                                                              @FLOZz@mastodon.social

                                                                                                                                                                                                                                                                                                                                              🚀️ I just released rst2gemtext v0.6.0

                                                                                                                                                                                                                                                                                                                                              rst2gemtext is a library and a CLI tool to convert reStructuredText documents to Gemtext (the markup format used by [not the AI from Google!])

                                                                                                                                                                                                                                                                                                                                              ➡️ github.com/flozz/rst2gemtext/r

                                                                                                                                                                                                                                                                                                                                              In my last blog article I used footnotes for the first time so they are now supported by the lib, enjoy! 😁️

                                                                                                                                                                                                                                                                                                                                                [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                Please congratulate our newest PSF Fellow Members for Q1, 2026! Their continued contributions to the Python ecosystem are so very important to our community.
                                                                                                                                                                                                                                                                                                                                                pyfound.blogspot.com/2026/04/a

                                                                                                                                                                                                                                                                                                                                                  [?]Julien Riou » 🌐
                                                                                                                                                                                                                                                                                                                                                  @jriou@hachyderm.io

                                                                                                                                                                                                                                                                                                                                                  To my fellow go devs out there. Is there a mock library for HTTP calls doing the same as side effect in Python? Like calling the same endpoint twice with the same request, then mock the responses to return 503 for the first call, then 200 for the second?

                                                                                                                                                                                                                                                                                                                                                    [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                    @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                    Python Tip #111 (of 365):

                                                                                                                                                                                                                                                                                                                                                    Don't use the __class__ attribute.

                                                                                                                                                                                                                                                                                                                                                    To get the name of any object's class, you can use:
                                                                                                                                                                                                                                                                                                                                                    type(my_obj).__name__

                                                                                                                                                                                                                                                                                                                                                    You might occasionally see this instead:
                                                                                                                                                                                                                                                                                                                                                    my_obj.__class__.__name__

                                                                                                                                                                                                                                                                                                                                                    I don't recommend that approach.

                                                                                                                                                                                                                                                                                                                                                    🧵 (1/3)

                                                                                                                                                                                                                                                                                                                                                      AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                      [?]mathieui » 🌐
                                                                                                                                                                                                                                                                                                                                                      @mathieui@piaille.fr

                                                                                                                                                                                                                                                                                                                                                      I’m happy to announce the release 0.17 of the poezio terminal client!

                                                                                                                                                                                                                                                                                                                                                      This features adds support for XEP-0444: Message reactions.

                                                                                                                                                                                                                                                                                                                                                      You can read more about it on my blog: blog.mathieui.net/poezio-0-17.

                                                                                                                                                                                                                                                                                                                                                      Fun fact: poezio was one of the very first clients with support for message reactions, during the XMPP sprint where they were initially fleshed out, but the PoC branch got lost in a forge move 🤐

                                                                                                                                                                                                                                                                                                                                                      Screenshot of a terminal with a message from "toto_tata" saying "Ceci n’est pas un test" and emojis displayed below

                                                                                                                                                                                                                                                                                                                                                      Alt...Screenshot of a terminal with a message from "toto_tata" saying "Ceci n’est pas un test" and emojis displayed below

                                                                                                                                                                                                                                                                                                                                                        [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                        @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                        un outil d'analyse statique de code qui repère l'utilisation de variables d'environnement dans le code et qui peut générer des templates de fichiers .env documentés : github.com/harish124/envsniff

                                                                                                                                                                                                                                                                                                                                                        L'outil peut être utilisé localement, en hook de pre-commit et en tant que github action.

                                                                                                                                                                                                                                                                                                                                                        -commit

                                                                                                                                                                                                                                                                                                                                                        [?]Adam Johnson :django: :python: » 🌐
                                                                                                                                                                                                                                                                                                                                                        @adamchainz@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                        ✍️ New post detailing a workaround I came up with for “leak” beahviour from Python 3.14’s new garbage collection algorithm.

                                                                                                                                                                                                                                                                                                                                                        Topical as @hugovk recently announced that the algorithm will be reverted in the next patch release!

                                                                                                                                                                                                                                                                                                                                                        adamj.eu/tech/2026/04/20/djang

                                                                                                                                                                                                                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                          PEP news:

                                                                                                                                                                                                                                                                                                                                                          PEP 822 – Dedented Multiline String (d-string)

                                                                                                                                                                                                                                                                                                                                                          "The Python Steering Council has reviewed PEP 822. While we’re generally positive about the PEP, we think it would be best to defer this feature until Python 3.16, to give it more time to solidify."

                                                                                                                                                                                                                                                                                                                                                          See the rest:
                                                                                                                                                                                                                                                                                                                                                          discuss.python.org/t/pep-822-d

                                                                                                                                                                                                                                                                                                                                                            [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                            @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                            Join our Executive Director, @baconandcoconut, in Petaluma, CA, for @NorthBayPython on 4/26, where she addresses the er, cat in the room, "The Python Community Needs More Cats"–a talk on managing your time and attention.
                                                                                                                                                                                                                                                                                                                                                            pretalx.northbaypython.org/nbp

                                                                                                                                                                                                                                                                                                                                                              [?]Stan 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                              @stanfromireland@mastodon.social

                                                                                                                                                                                                                                                                                                                                                              Just released: Python Docs Sphinx Theme 2026.4! 🚀

                                                                                                                                                                                                                                                                                                                                                              This is the theme for the Python documentation (and others). This release:

                                                                                                                                                                                                                                                                                                                                                              * Adds styling for the `soft-deprecated` class
                                                                                                                                                                                                                                                                                                                                                              * Adds a Tamil translation
                                                                                                                                                                                                                                                                                                                                                              * Fixes the vertical alignment of `:Editor:`

                                                                                                                                                                                                                                                                                                                                                              Thanks to @hugovk for helping me with my first release!

                                                                                                                                                                                                                                                                                                                                                              github.com/python/python-docs-

                                                                                                                                                                                                                                                                                                                                                                AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                                [?]Marcel SIneM(S)US » 🌐
                                                                                                                                                                                                                                                                                                                                                                @simsus@social.tchncs.de

                                                                                                                                                                                                                                                                                                                                                                Django boosted

                                                                                                                                                                                                                                                                                                                                                                [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                Last sprint morning for me at DjangoCon Europe 2026 in Athens 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                Tried to wrap up a few things I had started, helped where I could, and spent time talking and saying goodbye to many people.

                                                                                                                                                                                                                                                                                                                                                                Also gave a hand bringing lunch for everyone, small things but part of the whole experience 🙂

                                                                                                                                                                                                                                                                                                                                                                Big thanks to the organizers 🙏

                                                                                                                                                                                                                                                                                                                                                                With Paris Kasidiaris, @anze3db, @jrief

                                                                                                                                                                                                                                                                                                                                                                DjangoCon Europe 2026 sprints sign

                                                                                                                                                                                                                                                                                                                                                                Alt...DjangoCon Europe 2026 sprints sign

                                                                                                                                                                                                                                                                                                                                                                Selfie group

                                                                                                                                                                                                                                                                                                                                                                Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                People carrying food

                                                                                                                                                                                                                                                                                                                                                                Alt...People carrying food

                                                                                                                                                                                                                                                                                                                                                                Selfie group

                                                                                                                                                                                                                                                                                                                                                                Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                  After the sprint day at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                  We went for a long walk through Athens with the Parthenon in the background, then a great dinner with Greek food and one last drink before calling it a night 🍷

                                                                                                                                                                                                                                                                                                                                                                  Always special to spend this kind of time together, especially meeting new people along the way 🙂

                                                                                                                                                                                                                                                                                                                                                                  With @anthony @anze3db

                                                                                                                                                                                                                                                                                                                                                                  Partenon view

                                                                                                                                                                                                                                                                                                                                                                  Alt...Partenon view

                                                                                                                                                                                                                                                                                                                                                                  Selfie group

                                                                                                                                                                                                                                                                                                                                                                  Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                  Selfie group

                                                                                                                                                                                                                                                                                                                                                                  Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                  Selfie group

                                                                                                                                                                                                                                                                                                                                                                  Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                    Django boosted

                                                                                                                                                                                                                                                                                                                                                                    [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                    @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                    Afternoon of the first sprint day at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                    We had a hands-on session to continue the Django + AI workshop from the conference, with a few members of the official AI working group and other sprinters.

                                                                                                                                                                                                                                                                                                                                                                    Really good discussion, helped clarify quite a few points.

                                                                                                                                                                                                                                                                                                                                                                    A report will follow 🙂

                                                                                                                                                                                                                                                                                                                                                                    With @thibaudcolas, Laura Gates, @knyghty, @marcosilva0000, @EmmaDelescolle

                                                                                                                                                                                                                                                                                                                                                                    People speaking

                                                                                                                                                                                                                                                                                                                                                                    Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                    People speaking

                                                                                                                                                                                                                                                                                                                                                                    Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                    People speaking

                                                                                                                                                                                                                                                                                                                                                                    Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                    Selfie group

                                                                                                                                                                                                                                                                                                                                                                    Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                      Oh look, the Python cryptography package is planning on dropping support for 32-bit Windows and macOS x86-64 (Intel) in the next release:

                                                                                                                                                                                                                                                                                                                                                                      github.com/pyca/cryptography/i

                                                                                                                                                                                                                                                                                                                                                                      github.com/pyca/cryptography/i

                                                                                                                                                                                                                                                                                                                                                                        Django boosted

                                                                                                                                                                                                                                                                                                                                                                        [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                        @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                        Sprint day at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                        This morning we kicked off the first sprint session, hosted by Bespote, in a room full of developers working on all sorts of Django topics.

                                                                                                                                                                                                                                                                                                                                                                        We started by sharing goals, then everyone spread out into different groups and got to work.

                                                                                                                                                                                                                                                                                                                                                                        Lots of energy in the room, and a great chance to collaborate and move Django forward 🙂

                                                                                                                                                                                                                                                                                                                                                                        People programming

                                                                                                                                                                                                                                                                                                                                                                        Alt...People programming

                                                                                                                                                                                                                                                                                                                                                                        People programming

                                                                                                                                                                                                                                                                                                                                                                        Alt...People programming

                                                                                                                                                                                                                                                                                                                                                                        People programming

                                                                                                                                                                                                                                                                                                                                                                        Alt...People programming

                                                                                                                                                                                                                                                                                                                                                                        People programming

                                                                                                                                                                                                                                                                                                                                                                        Alt...People programming

                                                                                                                                                                                                                                                                                                                                                                          Fred de CLX boosted

                                                                                                                                                                                                                                                                                                                                                                          [?]Agenda du Libre » 🤖 🌐
                                                                                                                                                                                                                                                                                                                                                                          @agenda_du_libre@pouet.chapril.org

                                                                                                                                                                                                                                                                                                                                                                          Lyon: Sardine : entrez dans le monde de la musique et du live coding avec Python, Le jeudi 23 avril 2026 de 19h00 à 22h00. agendadulibre.org/events/34983

                                                                                                                                                                                                                                                                                                                                                                          [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                          @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                          Last evening of DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                          A walk through the center of Athens and dinner with the speakers… really nice way to close these days.

                                                                                                                                                                                                                                                                                                                                                                          Good company, a bit of wandering around the city, and some well-earned food after an intense conference 🙂

                                                                                                                                                                                                                                                                                                                                                                          With Jacob Walls, @shaib, @carlton, @apollo13, @felixxm, @EvilDMP, @anorthall, @christophehenry, @meshy, @samueljsb, @timb07, @markush, @jake, @thibaudcolas

                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                          People having dinner

                                                                                                                                                                                                                                                                                                                                                                          Alt...People having dinner

                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                            Django boosted

                                                                                                                                                                                                                                                                                                                                                                            [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                            @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                            Closing session just wrapped up at DjangoCon Europe 2026 in Athens 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                            Final thanks, hugs, goodbyes… and that feeling that it went by too fast.

                                                                                                                                                                                                                                                                                                                                                                            See you somewhere down the road 🙂

                                                                                                                                                                                                                                                                                                                                                                            With Antonis Kalipetis, Paris Kasidiaris, ...

                                                                                                                                                                                                                                                                                                                                                                            People on stage

                                                                                                                                                                                                                                                                                                                                                                            Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                            People on stage

                                                                                                                                                                                                                                                                                                                                                                            Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                            People on stage

                                                                                                                                                                                                                                                                                                                                                                            Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                            People on stage

                                                                                                                                                                                                                                                                                                                                                                            Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                              [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                              @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                              Lightning talks just wrapped up at DjangoCon Europe 2026 ⚡️

                                                                                                                                                                                                                                                                                                                                                                              Always a fun mix of ideas, demos, and unexpected moments right before the closing… a perfect way to end the conference 🙂

                                                                                                                                                                                                                                                                                                                                                                              With @anze3db, @alexgmin, Hwayoung Cha

                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                Last talk of DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                Now listening to Mateusz Bełczowski 🎤

                                                                                                                                                                                                                                                                                                                                                                                Looking at supply chain attacks in Python projects, how dependencies can get compromised and what we can actually do about it… a strong topic to close the conference 👀

                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Lily boosted

                                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                  Next talk at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                  Now listening to @christophehenry 🎤

                                                                                                                                                                                                                                                                                                                                                                                  Exploring the idea of using Django templates on the frontend, transpiling them to JS to keep a single source of truth while avoiding too many HTTP requests… interesting direction 👀

                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                    @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                    First talk after lunch on the last day of DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                    Now listening to Loes Crama from Cosine 🚀

                                                                                                                                                                                                                                                                                                                                                                                    Django being used to manage data for a space mission, tracking thousands of components across Europe… always fun to see where Django ends up 🙂

                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                      [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                      @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                      un article de @emmatyping, core-dev CPython sur l'avancement de la communauté "Rust for CPython" : blog.python.org/2026/04/rust-f
                                                                                                                                                                                                                                                                                                                                                                                      - compilation de CPython avec rust
                                                                                                                                                                                                                                                                                                                                                                                      - conception d'une API standardisée (puis d'une PEP) pour intégrer rust dans CPython

                                                                                                                                                                                                                                                                                                                                                                                      L'occasion de partager ces retours d'expérience de Bob Belderbos, quant à l'apprentissage de rust sur ses pratiques de développement de Python : belderbos.dev/blog/rust-made-m

                                                                                                                                                                                                                                                                                                                                                                                      [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                      @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                      Group photo moment at DjangoCon Europe 2026 📸

                                                                                                                                                                                                                                                                                                                                                                                      Took the chance to snap an unofficial selfie while we were all there… couldn’t wait for the official one 😄

                                                                                                                                                                                                                                                                                                                                                                                      Selfie group

                                                                                                                                                                                                                                                                                                                                                                                      Alt...Selfie group

                                                                                                                                                                                                                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                        RE: fosstodon.org/@savannah/116416

                                                                                                                                                                                                                                                                                                                                                                                        This is really good! There's a lot going on in CPython, here's just a few highlights.

                                                                                                                                                                                                                                                                                                                                                                                        [?]Savannah Ostrowski » 🌐
                                                                                                                                                                                                                                                                                                                                                                                        @savannah@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                        RE: mastodon.social/@coredispatch/

                                                                                                                                                                                                                                                                                                                                                                                        A very busy week prepping this edition! 😅

                                                                                                                                                                                                                                                                                                                                                                                        Thank you to @hugovk and @emmatyping for helping curate and edit edition 2. 🖤

                                                                                                                                                                                                                                                                                                                                                                                            Lily boosted

                                                                                                                                                                                                                                                                                                                                                                                            [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                            @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                            Last talk before lunch at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                            Now listening to @meshy and @samueljsb 🎤

                                                                                                                                                                                                                                                                                                                                                                                            A look back at how we handled transactions before atomic, and how something we now take for granted actually changed the way we write Django apps… nice mix of history and “wait, do we really understand this?” 🙂

                                                                                                                                                                                                                                                                                                                                                                                            Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                            Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                              @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                              First talk after the coffee break on the last day of DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                              Now listening to @nanorepublica 🎤

                                                                                                                                                                                                                                                                                                                                                                                              Looking at Django’s APIs in a broader sense, especially settings.py and manage.py, and how things like runserver can be confusing when it comes to deployment… interesting angle on something we all use every day 🙂

                                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                              Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                Third talk of the morning at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                Now listening to the Django Felllow Jacob Walls🎤

                                                                                                                                                                                                                                                                                                                                                                                                A preview of what’s coming in Django 6.1, with new fetch modes to avoid the classic N+1 queries problem without having to maintain long lists of fields… this looks really promising 🙂

                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                  Second talk of the morning at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                  Now listening to Vjeran Grozdanic from Sentry🎤

                                                                                                                                                                                                                                                                                                                                                                                                  Talking about encrypting data in Django without complex migrations, with a drop-in field that can handle both old plain text and new encrypted data on the fly… very curious about this approach 🙂

                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                    [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                    @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                    Final and third day of DjangoCon Europe 2026 in Athens 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                    Starting with the keynote by @EvilDMP 🎤

                                                                                                                                                                                                                                                                                                                                                                                                    He opened with the story of Socrates, condemned to death here in Athens 25 centuries ago, just a short walk from the venue… quite a way to begin a talk about knowledge and documentation.

                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                      [?]Mike Driscoll » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                      @driscollis@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                      What is the fastest way to create an empty dictionary in ? Using `timeit` to find out:

                                                                                                                                                                                                                                                                                                                                                                                                        [?]Michael T Babcock [https://en.pronouns.page/@bigntallmike] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                        @mikebabcock@floss.social

                                                                                                                                                                                                                                                                                                                                                                                                        PyPI has completed its second audit - The Python Package Index Blog
                                                                                                                                                                                                                                                                                                                                                                                                        blog.pypi.org/posts/2026-04-16

                                                                                                                                                                                                                                                                                                                                                                                                          Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                          [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                          @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                          Day 2 of DjangoCon Europe 2026 in Athens is done 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                          Talks, chats, drinks, gelato 🍦 and, more than anything, a lot of people I got to meet again today.

                                                                                                                                                                                                                                                                                                                                                                                                          These days are intense, but in a good way 🙂

                                                                                                                                                                                                                                                                                                                                                                                                          With @nanorepublica, @thibaudcolas, @jack, @williamblackie, @knyghty , Francisco De Maussion, Juliana Nicacio, Laura Gates, @shaib

                                                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                            🗞️ We're going to revert the incremental garbage collector in Python 3.14 and 3.15. See here for details: discuss.python.org/t/reverting

                                                                                                                                                                                                                                                                                                                                                                                                              [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                              @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                              Gelato break during DjangoCon Europe 2026… @thibaudcolas bring us in a place called Django Gelato in Athens🍦😄

                                                                                                                                                                                                                                                                                                                                                                                                              Couldn’t not stop here.

                                                                                                                                                                                                                                                                                                                                                                                                              Thinking of @mariatta , this feels very on brand for her conference selfies 😄

                                                                                                                                                                                                                                                                                                                                                                                                              With @thibaudcolas, David Vaz, Glenn Mendoza, Jens-Erik Weber, Hwayoung Cha,

                                                                                                                                                                                                                                                                                                                                                                                                              People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              Alt...People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              Alt...People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              Alt...People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                              Alt...People having ice cream

                                                                                                                                                                                                                                                                                                                                                                                                                [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                Just got off stage with @carlton at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                We shared the next edition of Django on the Med 🧳
                                                                                                                                                                                                                                                                                                                                                                                                                → Pescara, Italy 🇮🇹
                                                                                                                                                                                                                                                                                                                                                                                                                → 23–25 September 2026
                                                                                                                                                                                                                                                                                                                                                                                                                djangomed.eu

                                                                                                                                                                                                                                                                                                                                                                                                                Then I also introduced PyCon Italia 2026
                                                                                                                                                                                                                                                                                                                                                                                                                → Bologna, Italy 🇮🇹
                                                                                                                                                                                                                                                                                                                                                                                                                → 28–30 May 2026
                                                                                                                                                                                                                                                                                                                                                                                                                2026.pycon.it/en

                                                                                                                                                                                                                                                                                                                                                                                                                And on May 27 there will be a free community day with workshops, including a special “Django Off The Med” session 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                Alt...People on stage

                                                                                                                                                                                                                                                                                                                                                                                                                  Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                  Took part in the “Django and AI: A Community Conversation” workshop at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                  Really appreciated the space that Laura Gates and @thibaudcolas created for an open discussion around AI in the Django ecosystem.

                                                                                                                                                                                                                                                                                                                                                                                                                  I joined the "Core maintenance of Django" group with @EmmaDelescolle, @marcosilva0000, Francisco De Maussion

                                                                                                                                                                                                                                                                                                                                                                                                                  I hope this is just the starting point for something bigger 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                  People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...People speaking

                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                    @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                    The PSF is looking for a PyPI Sustainability Engineer to join the team! This is a full time, 1-year contract (with the possibility of renewal), globally remote position. If you love , care about open source, and want your work to matter at infrastructure scale–consider applying! Please boost this post and share with your colleagues and networks.

                                                                                                                                                                                                                                                                                                                                                                                                                    pythonsoftwarefoundation.apply
                                                                                                                                                                                                                                                                                                                                                                                                                    pythonsoftwarefoundation.apply

                                                                                                                                                                                                                                                                                                                                                                                                                      [?]@mausschubser@mastodon.online » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                      @unixtippse@mastodon.online

                                                                                                                                                                                                                                                                                                                                                                                                                      CW security by plaintext in-memory password [SENSITIVE CONTENT]

                                                                                                                                                                                                                                                                                                                                                                                                                      getpass.getpass() and surprise surprise, as a phishing countermeasure, this corpo Windows 11 constantly scans keyboard input to see whether it matches your active directory password. 🙄

                                                                                                                                                                                                                                                                                                                                                                                                                        Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                        @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                        Second talk of the morning at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                        Now listening to Laís Carvalho @Laiscarvalho 🎤

                                                                                                                                                                                                                                                                                                                                                                                                                        Talking about observability in Django, going beyond print() and logs to actually understand what’s going on inside your app… this is one of those things that makes life much easier once you start using it 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                        Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...Speaker on a stage

                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                          @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                          Day 2 at DjangoCon Europe 2026, my first talk of the morning 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                          Now listening to @anorthall 🎤

                                                                                                                                                                                                                                                                                                                                                                                                                          Started with caving… and now “caving” into old reports, digging valuable data out of decades of messy documents and turning it into something usable. Really nice overlap between the topic and the process 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                          2026.djangocon.eu/speakers/GJU

                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                            Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                            @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                            Day 1 of DjangoCon Europe 2026 in Athens is done 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                            As always, the best part is the people. Old friends, folks I’ve shared so many moments with, volunteers, and lots of new faces

                                                                                                                                                                                                                                                                                                                                                                                                                            Also had a few people come up during the day to chat, ask about my talk, share feedback… those small moments really stay with you 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                            This is the human side of the Django community

                                                                                                                                                                                                                                                                                                                                                                                                                            With @anthony, @jong0uld, @anze3db, @marcosilva0000, Andrew Williamson, @benjaoming, Timothy Mccurrach

                                                                                                                                                                                                                                                                                                                                                                                                                            Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Selfie with people

                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                              @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                              Wrapping up the first day of DjangoCon Europe 2026 with a big dinner in Athens 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                              After a full day of talks, now sitting at a long table with people from all over Europe, sharing stories and really good Greek food 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                              These moments are just as important as the talks and workshop.

                                                                                                                                                                                                                                                                                                                                                                                                                              With Jens-Erik Weber, me, @carlton, @EvilDMP, @apollo13, Fabian Braun, Joe Burch, Valentinos Evripidou, @felixxm, @markush , @jrief, @be_haki

                                                                                                                                                                                                                                                                                                                                                                                                                              People eating food

                                                                                                                                                                                                                                                                                                                                                                                                                              Alt...People eating food

                                                                                                                                                                                                                                                                                                                                                                                                                                Pep boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                Last talk of the first day at DjangoCon Europe 2026 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                                Now listening to @timb07 🎤

                                                                                                                                                                                                                                                                                                                                                                                                                                As tables get extremely large, the abstraction starts to break down and performance issues show up… curious to see how partitioning helps in real-world cases 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                  Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                  After the DjangoCon Europe coffee break, back into the room for @jake ☕️

                                                                                                                                                                                                                                                                                                                                                                                                                                  Django supports multiple database connections, but leaves it up to you to manage how to use them and which queries to send where… let’s dig into this 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                  Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                    @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                    Back after lunch at DjangoCon Europe 2026 and now sitting in a talk by @be_haki 🍽️

                                                                                                                                                                                                                                                                                                                                                                                                                                    He’s diving into Django signals, reliability, and how to make them work better in real-world scenarios… this is one of those topics you don’t think about until it breaks 😄

                                                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                    Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                      Lily boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                      @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                      This morning I presented my talk “AI-Assisted Contributions and Maintainer Load” at DjangoCon Europe 2026 in Athens 🇬🇷

                                                                                                                                                                                                                                                                                                                                                                                                                                      Thanks to everyone who joined, filled the room, and asked thoughtful questions, it really means a lot 🤗

                                                                                                                                                                                                                                                                                                                                                                                                                                      I’ll share slides and more soon 👇
                                                                                                                                                                                                                                                                                                                                                                                                                                      paulox.net/

                                                                                                                                                                                                                                                                                                                                                                                                                                      Photo of the talk by @felixxm

                                                                                                                                                                                                                                                                                                                                                                                                                                      With Antonis Kalipetis

                                                                                                                                                                                                                                                                                                                                                                                                                                      Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                      Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                      Selfie with the audience in the background

                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...Selfie with the audience in the background

                                                                                                                                                                                                                                                                                                                                                                                                                                      Selfie with the volunteer

                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...Selfie with the volunteer

                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                        @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                        un article de Oshadha Gunawardena qui explique le fonctionnement de uv sous le capot : noos.blog/posts/uv-how-it-work
                                                                                                                                                                                                                                                                                                                                                                                                                                        - correspondances avec les commandes pip
                                                                                                                                                                                                                                                                                                                                                                                                                                        - structure du projet rust
                                                                                                                                                                                                                                                                                                                                                                                                                                        - les options de uv init (application / bibliothèque)
                                                                                                                                                                                                                                                                                                                                                                                                                                        - les mécanismes derrière uv add : résolution PubGrub, gestion d'erreurs, téléchargements parallélisés, lockfile
                                                                                                                                                                                                                                                                                                                                                                                                                                        - cache global
                                                                                                                                                                                                                                                                                                                                                                                                                                        - les intérêts de rust

                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                          @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                          Next talk just started at DjangoCon Europe 2026 🎤

                                                                                                                                                                                                                                                                                                                                                                                                                                          Great to see @markush on stage talking about Django’s security process, from triaging and fixes to disclosure and releases, with a look at how AI might impact all of this… really curious about this one 👀

                                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                          Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                          Alt...Speaker on stage

                                                                                                                                                                                                                                                                                                                                                                                                                                            Django boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                            @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                            First keynote of DjangoCon Europe 2026 just started 🎤

                                                                                                                                                                                                                                                                                                                                                                                                                                            Really happy to see @carlton on stage opening with a talk about keeping Python dynamic while adding small “static islands” where they actually help, curious to see how this lands 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                                            Carlton on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Carlton on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                            Carlton on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                            Alt...Carlton on the stage

                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Helsinki Python » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                              @HelPy@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                              Welcome along to our next meetup on Tuesday 21st April, in collaboration with @pydata_helsinki kindly hosted by TEK & ILry!

                                                                                                                                                                                                                                                                                                                                                                                                                                              Owain Hopeaketo & Anne Granat-Jukakoski: Intro to TEK & ILry unions

                                                                                                                                                                                                                                                                                                                                                                                                                                              Tietoala IT sector, collective agreement and the law

                                                                                                                                                                                                                                                                                                                                                                                                                                              The famous HelPy or famous PyDataHel quiz!

                                                                                                                                                                                                                                                                                                                                                                                                                                              @calpaterson: "Disregard that!" attacks

                                                                                                                                                                                                                                                                                                                                                                                                                                              RSVP now and see you next week!

                                                                                                                                                                                                                                                                                                                                                                                                                                              meetup.com/helpy-meetups/event

                                                                                                                                                                                                                                                                                                                                                                                                                                              Helsinki Python & PyData Helsinki
TEK & llry
17.00 Tuesday, 21st April 2026
Ratavartijankatu 2 A, 00520 Helsinki

                                                                                                                                                                                                                                                                                                                                                                                                                                              Alt...Helsinki Python & PyData Helsinki TEK & llry 17.00 Tuesday, 21st April 2026 Ratavartijankatu 2 A, 00520 Helsinki

                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Henry³ » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                @henryiii@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                Packaging 26.1 out! Another huge release, with lots of great stuff, like pyemscripten wheels, free-threading stable ABI, dependency-groups, direct-urls, more pylock, & key for filter. Benchmarking, property-based testing, 2x faster performance in places! github.com/pypa/packaging/rele

                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                  @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                  This trip to DjangoCon Europe in Athens wasn’t just a flight ✈️

                                                                                                                                                                                                                                                                                                                                                                                                                                                  I tried to turn it into a small “Django speaking tour”, a bit like the one I did in 2022.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Yesterday I was in Lecce for a Django talk and a walk through the city with the local community. This morning I reached Bari, had a quick lunch by the Adriatic sea with the @pybari organizer, and then flew to Athens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Same sea, different shore, same community.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Looking forward to meetings you all.😊

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Selfie taken at the end of my Django talk in Lecce, with the local community.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Selfie taken at the end of my Django talk in Lecce, with the local community.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Night view of the historic center of Lecce, with the Church of Santa Croce beautifully illuminated during an evening walk.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Night view of the historic center of Lecce, with the Church of Santa Croce beautifully illuminated during an evening walk.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Selfie with Gaetano, organizer of Python Bari, with the Adriatic Sea behind us during a quick lunch by the coast.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Selfie with Gaetano, organizer of Python Bari, with the Adriatic Sea behind us during a quick lunch by the coast.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  View of the port of Santo Spirito near Bari, with boats and the calm sea under daylight.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...View of the port of Santo Spirito near Bari, with boats and the calm sea under daylight.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                    @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The April edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 9 PM UTC. Join us to share how we can help your community, express your perspectives, and provide feedback for the PSF!
                                                                                                                                                                                                                                                                                                                                                                                                                                                    pyfound.blogspot.com/2025/10/a

                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Fipaddict, » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                      @fipaddict@diaspodon.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                      On me glisse dans l'oreillette qu'il serait bon que je me remette à bricoler mes vieilles bricoles avec @beeware

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Ça tombe bien, je vais avoir un peu de temps

                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Fipaddict, » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                        @fipaddict@diaspodon.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Ivre, il écrit un script pour synchroniser ses abonnements sur son compte de secours masto avant de découvrir qu'il existe une fonctionnalité permettant d'importer ceux-ci (via un simple fichier...)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]SnoopJ 🔜 #PyConUS [He/him/they, please] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                          @SnoopJ@hachyderm.io

                                                                                                                                                                                                                                                                                                                                                                                                                                                          more specifically, this PR exposes a curious side effect of the Unicode 15.0 → Unicode 15.1 upgrade when it comes to identifiers: ZWJ is now allowed as a 'continue' character (i.e. you can use it in an identifier as long as it's not the first codepoint)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          ```
                                                                                                                                                                                                                                                                                                                                                                                                                                                          $ python3.12 -c 'print(str.isidentifier("A_\u200d_B"))'
                                                                                                                                                                                                                                                                                                                                                                                                                                                          False
                                                                                                                                                                                                                                                                                                                                                                                                                                                          $ python3.13 -c 'print(str.isidentifier("A_\u200d_B"))'
                                                                                                                                                                                                                                                                                                                                                                                                                                                          True
                                                                                                                                                                                                                                                                                                                                                                                                                                                          $ python3.13 -c 'print(str.isidentifier("A_\u200d"))' # unfortunately, a trailing ZWJ is legal too
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ```

                                                                                                                                                                                                                                                                                                                                                                                                                                                          github.com/python/cpython/pull

                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do you use astral-sh/setup-uv@v7 in ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                            And it's not hash-pinned?

                                                                                                                                                                                                                                                                                                                                                                                                                                                            And you use or ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                            The setup-uv project has switched to only Vx.y.z tags, no more Vx or Vx.y.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            But Dependabot and Renovate won't upgrade from Vx to Vx.y.z, so you'll need to manually update to setup-uv@v8.0.0 to keep up with future updates.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            "To increase security even more we will stop publishing minor tags. You won't be able to use v8 or v8.0 any longer."

                                                                                                                                                                                                                                                                                                                                                                                                                                                            github.com/astral-sh/setup-uv/

                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                              @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Your journey starts here! Join Al Sweigart at 2026 for the tutorial "Python for Absolute Beginners" on May 14th 🐍 us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Register now: us.pycon.org/2026/accounts/das

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Fipaddict, boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Nicolas Delsaux » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                @Riduidel@framapiaf.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Ce repository GitHub semble contenir un logiciel capable de valider les fonctionnalités d'un câble USB-C. J'hésite à le tester ... github.com/TheOwn68/SoftCable

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]halcy​ :icosahedron: [He/Him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @halcy@icosahedron.website

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Mastodon.py version 2.2.0 is now out! 🦣🐍

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  There's a quite a few bug fixes (thank you to everyone who reported and/or fixed something), and support for 4.5 functionality: Quotes as well as async refreshing! Also quite a bit of additional testing, coverage is now above 90%.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  As usual, please report any bugs you see, I should have the time to do quick fixes and maintenance release in the near future hopefully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Changelog: github.com/halcy/Mastodon.py/r
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Docs: mastodonpy.readthedocs.io/en/v
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * PyPi: pypi.org/project/Mastodon.py/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @hynek Parallelise wheel build across as many jobs as practical, upload artifacts, then a final job downloads them all and uploads in a single go.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    github.com/python-pillow/Pillo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    github.com/ultrajson/ultrajson

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (Maybe make sure the wheels go up before the sdist to ensure no-one runs into a source compile mid-upload.)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Hynek Schlawack » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @hynek@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Maintainer friends of wheel-heavy packages: do we already have some practical, standard way to automatically upload all the cibuildwheel output across all architectures? My current workflow is a) a pain in the ass and b) requires me to have one last PyPI upload token.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Baptiste Mispelon [🇬🇧 He/him 🇫🇷 Il 🇳🇴 Han] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @bmispelon@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        day 2 update 6.3

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Breaking news: I found the secret underscore factory!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        A red building with a sign that says Dunderland

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...A red building with a sign that says Dunderland

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        White framed windows on a red wooden building with a blue sign that says Dunderland, altitude 127m

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...White framed windows on a red wooden building with a blue sign that says Dunderland, altitude 127m

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python Tip #100 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Prefer the pathlib.Path object's is_file() and is_dir() methods over exists()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The exists method tells you SOMETHING is there but not WHAT.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Using is_file() or is_dir() is more explicit about what you're actually checking for, and usually what you actually want.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usually when I find myself using exists(), I'll realize that I wanted one of the more specific methods instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            le prochain aura lieu le lundi 27 avril 2026 soir chez Néosoft (merci pour l'accueil). Quentin Caron nous fera un retour d'expérience du framework d'API web Django Ninja, Jesshuan Diné nous présentera la méthodo et les résultats de son benchmark d'orchestrateurs de tâches (airflow, argo, temporal.io, windmill).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Inscription gratuite mais nécessaire sur meetup.com/python-rennes/event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Jannis Leidel » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @jezdez@publicidentity.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              🎉📦 The Packaging Summit at PyCon US 2026 is now live.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you work on Python packaging, maintain packages, support downstream distribution, or have topics that would benefit from focused in-person discussion, please take a look:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              us.pycon.org/2026/events/packa

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Pep boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                uv 0.11.5, sorti ce matin, contient la commande `uv audit` qui analyse les vulnérabilités dans les dépendances de votre projet : docs.astral.sh/uv/reference/cl. Le rapport pointe les vulnérabilités et la version contenant le correctif.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Astral a aussi publié un retour d'expériences de bonnes pratiques d'intégration continue et de déploiement continu : cooldowns, versionnement d'actions, trusted publishing.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                astral.sh/blog/open-source-sec

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Smello : un paquet bien pratique quand on souhaite suivre les trames réseaux émises par les outils qu'on utilise (HTTP, gRPC) - par exemple des librairies Google ou AWS : smello.io/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If suffit d'ajouter 2 lignes dans son code (import smello; smello.init()), de lancer le serveur local, et le tour est joué.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Have a date string and want to find the format string needed to parse it?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Read more 👉 trey.io/l4b84k

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  La rediffusion de la session "Optimiser son intégration continue de projet Python (mais pas que)" est en ligne 🎉

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Merci Kanoma pour l'accueil et Alex pour la captation vidéo 🙏

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - vidéo : youtube.com/watch?v=Dzjjwhx2Amk
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - diaporamas : github.com/python-rennes/sessi

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Et oui ! Python Rennes a désormais son organisation github pour stocker les liens de rediffusion et les supports de présentation 🥳 Les sessions précédentes seront rajoutées progressivement - abonnez-vous 🔔

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    More in the final 3.15 alpha:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    🖨️ pprint: new `expand` arg for Black-like output (let's make it default?)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    🧛 bytes.replace() count arg can be a keyword
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    🌊 wave: IEEE floating-point WAVE audio support, new getformat()/setformat()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ⏱️ timeit: configurable target time for autorange()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Please test and give feedback!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Example pprint without and with expand=True.

>>> pprint(config)
{'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {'engine': 'postgresql',
              'host': 'db-primary.internal',
              'pool': {'overflow': 10, 'size': 20, 'timeout': 30}},
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443}
>>>
>>> pprint(config, expand=True)
{
 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {
  'engine': 'postgresql',
  'host': 'db-primary.internal',
  'pool': {'overflow': 10, 'size': 20, 'timeout': 30},
 },
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443,
}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Alt...Example pprint without and with expand=True. >>> pprint(config) {'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': {'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}}, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443} >>> >>> pprint(config, expand=True) { 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': { 'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}, }, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443, }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      New releases!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🐍 3.15.0a8!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🐍 Python 3.14.4!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🐍 Python 3.13.13!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🖼️ Pillow 12.2.0!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      blog.python.org/2026/04/python
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pillow.readthedocs.io/en/lates

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ⚠️ Final 3.15 alpha: only 4 weeks until the feature freeze! 🧊

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      New in this alpha:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🧵 PEP 803: “abi3t”: Stable ABI for free-threaded builds
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🪟 Windows 64-bit binaries use the tail-calling interpreter for up to 40% speedup!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      docs.python.org/3.15/whatsnew/
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🦋 REPL: colour tab completion with fancycompleter

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      REPL showing:

import random
random.

And then I press tab and it shows the things in random in different colours, like functions in blue, methods in cyan, numbers in yellow, and types in magenta.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...REPL showing: import random random. And then I press tab and it shows the things in random in different colours, like functions in blue, methods in cyan, numbers in yellow, and types in magenta.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Python Tip #96 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        When manipulating file paths or asking questions about them, use pathlib

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        "Stringly typed code" uses a string to represent a value when a better type exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For representing file paths, pathlib.Path objects are this better-than-a-string type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Unlike with strings:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. It's hard to get yourself into trouble with pathlib.Path
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. When I see a pathlib.Path object, I know we're representing a path

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        🧵 (1/2)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Orhun Parmaksız 👾 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @orhun@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can now use Ratatui in Python! 🐀🥳

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          🐍 **PyRatatui** — Python bindings for @ratatui_rs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          💯 Build high-performance TUIs in Python with 35+ widgets, async & effects

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          🦀 Backed by Rust via PyO3

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ⭐ GitHub: github.com/pyratatui/pyratatui

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            I've released v2.10.0 of , my blog-oriented static site generator. This release adds a post streak display to the stats page. Got to keep that writing streak going!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            blog.davep.org/2026/04/07/blog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Nicoco boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]mathieui » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @mathieui@piaille.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Just fresh out of the oven, release 0.16.1 of the poezio TUI XMPP client!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Mostly fixes and internal stuff, but also adds the ability to see redacted/moderated messages if you wish so – particularly useful if you are the one moderating –.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              blog.mathieui.net/poezio-0-16-

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                David MacIver, un des auteurs de test hypothesis pour Python, vient de le proposer pour différents langages de programmation : antithesis.com/blog/2026/hegel/. L'outil est donc disponible pour rust, viendront ensuite Go, C++, OCaml et TypeScript.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                C'est le code Python qui est enrobée d'une surcouche d'API pour les autres langages.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Pour en savoir plus sur hypothesis.works/, re·voyez la session de Michel Caradec sur le property-based testing : youtu.be/mV0vTbs2cQ0?si=aA7yQZ

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  First PyCon US. Hotel lobby. A card game I'd never heard of.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Trey Hunner pulled me in, taught me , and I won three rounds in a row.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The hotel lobby at PyCon US has its own lore. It starts the moment you check in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Long Beach, CA us.pycon.org/2026/venue/hotels/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    PyCon US has a brand new AI track this year and it's packed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Agents. EdgeAI. Voice AI. Explainability. Hardware. Performance.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Friday May 15, Long Beach.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Full breakdown of every session + tutorials worth your time
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pycon.blogspot.com/2026/04/pyt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    REGISTER us.pycon.org/2026/attend/infor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      PyCon US has a brand new AI track this year and it's packed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Agents. EdgeAI. Voice AI. Explainability. Hardware. Performance.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Friday May 15, Long Beach.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Full breakdown of every session + tutorials worth your time
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pycon.blogspot.com/2026/04/pyt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      REGISTER us.pycon.org/2026/attend/infor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pycon.blogspot.com/2026/04/pyt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Donc je comprends absolument pas comment une syntaxe qui marche à un endroit peut faire planter le générateur à un autre (surtout, je rappelle, quand la variable créée par cette syntaxe n'est pas appelée ensuite).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Qu'est-ce qui peut expliquer que du code pris dans un fichier de script de FreeOrion casse la génération d'univers de FreeOrion quand on le copie dans un autre fichier de script FreeOrion ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Je veux dire, même quand c'est du code qui ne fait rien ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (il définit une variable qui est utilisée dans le fichier original, mais pas dans le fichier de destination)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (et oui les variables qu'il utilise sont définies dans le fichier de destination)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Marcus Adams » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @gerowen@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            I made some tweaks to a personal project called PyCheck. Its entire purpose is to put an icon in my applications menu that I can click to easily verify whether a file matches its original checksum without manually reading the whole hash.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Link: gitlab.com/gerowen/pycheck/-/r

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @treyhunner In 3.15 we've added an re.prefixmatch() as an explicit alias to the confusing re.match().

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              docs.python.org/3.15/library/r

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Python Tip #95 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Don't use re.match(): it's confusing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I'm not sure I've ever seen re.match() used when it wasn't being used by mistake.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you think you want re.match(), you probably want either re.‍search() or re.fullmatch() instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                When matching a regex against a string, we're usually either trying to:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Find a regular expression within a string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Match a regular expression against a whole string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                re.match() does neither of those!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                🧵 (1/3)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Scott Williams 🐧 [He/Him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @vwbusguy@mastodon.online

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  If you use uv, ty, or ruff in , this might impact you.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Scott Williams 🐧 [He/Him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @vwbusguy@mastodon.online

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Well, that's something...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    OpenAI to acquire Astral | OpenAI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    openai.com/index/openai-to-acq

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Adam Johnson :django: :python: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @adamchainz@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ✍️ New post introducing profiling-explorer, a tool for exploring Python profiling data (pstats files).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use it with the classic cProfile (now called profiling.tracing) or Python 3.15’s new sampling profiler, Tachyon (profiling.sampling).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      adamj.eu/tech/2026/04/03/pytho

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]gyptazy » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @gyptazy@gyptazy.com

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Adding the new feature to for clusters during Easter is basically: hiding eggs → finding eggs → realizing some eggs are actually critical alerts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For real, many people asked me for their smaller and mid-sized environments, how to handle remote syslog of their nodes. I had some ideas (some of you may have already found my Rust interpretation of this) but I think having this included in as a centralized management interface makes more sense.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        So, PegaProx comes with an own syslog server (ipv4/ipv6, udp/tcp, encrypted/unencrypted support) and is wired to the interface within the resources tab. Providing a quick overview of all your logs and filter options. The next thing is wiring it to the notification system of PegaProx, allowing automated alerting. Might be nice to quickly identify when the quorum got lost - all built-in into PegaProx!


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        A syslog integration (server & frontend audit) for PegaProx for Proxmox based clusters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...A syslog integration (server & frontend audit) for PegaProx for Proxmox based clusters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]wendythedruid [She/Her] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @wendythedruid@thistlenfern.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Oh why do you hate me?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Fabien LOISON (FLOZz) » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @FLOZz@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            🚀️ Rivalcfg v4.17.0 released!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Rivalcfg is a command line tool (and also a library) to configure gaming mice on , and .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ➡️ rivalcfg.flozz.org/news/releas

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This version adds support for 3 new devices: the Rival 5 (regular version and Destiny Edition), and the Prime+. It also fixes a small bug.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              BlogMore v2.8.0 is out, with a wee bugfix, handling a situation where lines could be lost if they looked like meta data: blog.davep.org/2026/04/02/blog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RE: fosstodon.org/@pypi/1163354537

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                rapport d'incident par @miketheman & @sethmlarson sur la corruption de & via : blog.pypi.org/posts/2026-04-02

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Conseils :
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - délai de précaution dans la montée de version des dépendances
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -- pip.conf
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [install]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                uploaded-prior-to = P3D
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -- uv.toml / pyproject.toml
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [tool.uv]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                exclude-newer = "P3D"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - utiliser un lockfile pour les dépendances transitives
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - publication : par le trusted publishing, surveiller les PR touchant aux workflows de CI

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                un projet de configuration d'environnement de travail en Python créé par @mattsi, facile à personnaliser ou étendre : github.com/Mattsi-Jansky/dotfi

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Mattsi explique sa démarche, très différente d' par exemple, dans ce billet de blog : matt.si/2026-04/dotfiles/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  🧠🤖 AI Track Spotlight:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Join Paolo Melchiorre at 2026 for "AI-Assisted Contributions and Maintainer Load" and learn how -generated contributions are reshaping open source maintainer workflows and what the community is doing to respond

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Paolo Melchiorre » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @paulox@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RE: fosstodon.org/@pycon/116335122

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Looking forward to this at PyCon US 2026 in Long Beach where I’ll be speaking on Friday morning (May 15th).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Maintainers are already feeling the impact of AI-assisted contributions. I’m not sure we fully understand it yet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    🧠🤖 AI Track Spotlight:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Join Paolo Melchiorre at 2026 for "AI-Assisted Contributions and Maintainer Load" and learn how -generated contributions are reshaping open source maintainer workflows and what the community is doing to respond

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        🧠🤖 AI Track Spotlight:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Join Paolo Melchiorre at 2026 for "AI-Assisted Contributions and Maintainer Load" and learn how -generated contributions are reshaping open source maintainer workflows and what the community is doing to respond

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        us.pycon.org/2026/schedule/pre

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python Tip #92 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Don't overuse regular expressions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If a containment check of a common string method will do, don't use a regular expression.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Instead of this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if re‍.search(r"^http://", string):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if string.startswith("http://"):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Instead of this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if re‍.search(r"#", string):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if "#" in string:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          And instead of this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          parts = re.findall(r"\S+", string)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do this:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          parts = string.split()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          🧵 (1/2)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            🗞️📨 🐍check your inboxes, a new PSF newsletter just shipped!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Want to stay up to date on the latest PSF, , PyPI, and news? Subscribe today:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            python.org/psf/newsletter/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              BlogMore v2.7.0 has been released. This version adds a visual indication of a published post is still in draft mode: blog.davep.org/2026/04/01/blog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]mborus » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @mborus@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nik Thanks for mentioning typst (github.com/typst/typst). I hadn't heard about that.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                It looks like a great way to create pdfs and the examples look a lot easier than fighting with LaTeX syntax.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A quick search turned up bindings and a way of importing data from JSON to use it as a template engine.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I guess I'll have to take a look.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Les dernières nouveautés concernant le support de Python dans vsCode (dont les mises à jour sont désormais bi-mensuelles) : devblogs.microsoft.com/python/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ClaudioM boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]jezra » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @jezra@pleroma.jezra.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  a metronome, on the network. A `netronome` if you will.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  functional, but currently only prints to stdout.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  #python
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  https://gitlab.com/jezra/netronome

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Nicolas Delsaux » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @Riduidel@framapiaf.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    C'est une direction très loin de ce que je fait avec Ansible, mais ça semble très séduisant. matt.si/2026-04/dotfiles/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Larvitz :fedora: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @Larvitz@burningboard.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Just cut the CI/CD build time for my blog (blog.hofstede.it) by over 100%!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      I use Pelican as a static site generator and deploy via Forgejo Actions. Instead of running apt install for Python dependencies on every single run, I finally built a custom container image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The best part? Forgejo has a built-in OCI registry! I just pushed my custom image to my git-forge and referenced it in the workflow. Down to a 24s deploy time! Nice.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Screenshot of a successful Forgejo Actions CI/CD pipeline run. The workflow "deploy-blog.yml" triggered by a merge pull request for "feature/ci-custom-image" shows a completed "deploy" job that took exactly 24 seconds. The completed steps include: Set up job, Checkout Code, Configure Deployment Target, Build Site, Setup SSH, Deploy via Restricted Rsync, and Complete job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Alt...Screenshot of a successful Forgejo Actions CI/CD pipeline run. The workflow "deploy-blog.yml" triggered by a merge pull request for "feature/ci-custom-image" shows a completed "deploy" job that took exactly 24 seconds. The completed steps include: Set up job, Checkout Code, Configure Deployment Target, Build Site, Setup SSH, Deploy via Restricted Rsync, and Complete job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Adam Johnson :django: :python: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @adamchainz@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Nice IPython Easter Egg! 🏳️‍⚧️

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Running IPython today gives you the tip "Happy International Transgender Day of Visibility! You are valid. You matter."

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...Running IPython today gives you the tip "Happy International Transgender Day of Visibility! You are valid. You matter."

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          TIL abandoned in favor of the Chromium engine. And in particular:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          > Qt WebEngine does not allow direct access to the document object model (DOM) of a page. However, the DOM can be inspected and adapted by injecting scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          That means that if I want to reimplement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grulic.org.ar/~mdione/glob/pos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I will have to program the engine with JavaScript shaped butterflies[1].

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [1] explainxkcd.com/wiki/index.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @adamchainz @treyhunner And github.com/python/cpython/pull is merged!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Keyword `count` in `bytes.replace` is coming to a Python* near you soon**!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * 3.15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ** October 2026

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              I wish 's string replace method allowed specifying "count" as a keyword argument.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              >>> text = "Hello? Python?"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              >>> text.replace("?", "!", count=1)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              I find that more explicit than this:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              >>> text.replace("?", "!", 1)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              'Hello! Python?'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              But the replace only allows positional arguments 🐍😢

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Calling all creative, artsy, and all-around wonderful Python folks! 🐍✨

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                We’re inviting you to donate an item to the PyLadies Charity Auction at 2026. It’s a great way to support PyLadies, share your creativity, and show the community what you’ve got.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Have something fun or unique to contribute? Donate today and help make the auction amazing!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                👉 pycon.blogspot.com/2026/03/sup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]decibyte » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @decibyte@social.data.coop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Nå: Vi er alle blevet fritstillet fra mit arbejde og derfor leder jeg så småt efter noget nyt at rive i (jeg har fri 3 måneder med løn, og derfor ikke travlt endnu).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Så: Kender du nogen der mangler en udvikler der er glad for og ? Helst et sted hvor man kan få lov at skrive sin kode selv, uden forventning om at man gør det med assistance fra AI.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Mit CV er her: decibyte.net/cv/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Lily boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]decibyte » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @decibyte@social.data.coop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    And in English:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    We have all been laid off and released from duty, and I have slowly started looking for something new to do (I have 3 paid months off, so I'm not in a hurry yet).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do you know someone looking for a developer who enjoys working with and ? Preferably a place allowing you to write the code yourself, without expectations that you do it with assistance from AI.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    My CV: decibyte.net/cv/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @mgorny@social.treehouse.systems

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      I'm looking at Repology, and I think most of the distributions and other downstreams have rightfully boycotted . Of course, there's the possibility that some of them are simply out-of-date, though.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      So far chardet-7 is distributed by , (not on Repology), , , , , , and SDE. Shame on you!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      repology.org/project/chardet/v
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      repology.org/project/python%3A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]gyptazy » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @gyptazy@gyptazy.com

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Last week I had several meetings with customers where I also showcased the project for .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The feedback was honestly amazing. Many were impressed by how PegaProx brings essential enterprise grade features to Proxmox clusters that are still missing today. We can clearly see the gaps that were fixed by , , , and many other ones! Keep in mind, PegaProx is free and fully !

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        That said, we know there's always room for improvement. Whether it is major enhancements or small quality of life tweaks, every detail matters. Over the weekend, I took your feedback from the calls seriously and integrated a number of improvements to make PegaProx even more intuitive and powerful.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Your input drives this project forward. If you feel something is missing or could be improved, let us know!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PS: Pegaprox also support () ans corss-cluster / cross-hypervisor migrations. So, you can quickly jump over to XCP 🙂

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Blog: https://gyptazy.com/blog/pegaprox-real-datacenter-manager-proxmox-clusters/
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Website: https://pegaprox.com/
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GitHub: https://github.com/PegaProx/project-pegaprox/


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PegaProx Web-Frontend as a multi-cluster Proxmox manager with Enterprise features

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...PegaProx Web-Frontend as a multi-cluster Proxmox manager with Enterprise features

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Remi Gacogne boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Fipaddict, » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @fipaddict@diaspodon.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @diazona @markstos ok, let me put it this other way: if you know of a good talk abut , please share the link :)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]James Valleroy [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @jvalleroy@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            I've decided it's time to tag a v0.1.0 release on my roguelike game project, Stagger. It's more of a small demo than a full game at this point. It is turn-based, and has purely text-based "graphics", like the original Rogue.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You can find the repository at either of these locations:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            git.sr.ht/~jvalleroy/stagger
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            codeberg.org/jvalleroy/stagger

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The game is developed in Python, using ncurses. It is dual-licensed under AGPL and MPL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Mark Stosberg » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @markstos@urbanists.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Looks like my language choices for are limited to TypeScript, Python, Go, C#, or Java. I know TypeScript better, but I'm interested in learning more so I'll choose that. Time to get Pulumi installed! 🧵

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]advokatt » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @km@mastodon.babb.no

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                wizards, is there a reason that sorted() returns a list, but reversed() -- iterable?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                it feels very un-Pythonic

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RE: en.osm.town/@mdione/1162394893

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  OK, the push for AI is official. I'm definitely open for new positions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  I'm a jack of all trades, systems dev and admin, , , , , , , security conscious, I like to review code, and for my hobbies I do some and would like to do more.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Check my CV grulic.org.ar/~mdione/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  and my blog grulic.org.ar/~mdione/glob/ (not a typo)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  for more details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Marcos Dione boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  I have been suggested that the company I'm working is not doing well. Than and a push for AI is telling me it's maybe time to move on.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  What am I? Currently I'm doing , , GitHub/GitLab admin (yes, both), some Kafka, used to do some Postgres (now we have a DB team), Ansible and more.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Edit: more info: en.osm.town/@mdione/1163024235

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  What do I want? No AI, no gambling, no blockchain. In or remote. I can invoice abroad, but I would rather be an employee.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fipaddict, boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Laurent Cheylus » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @lcheylus@bsd.network

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The Story of Python's Lazy Imports: why it tooks 3 years and 2 attempts to have a "lazy" Keyword coming in version 3.15 techlife.blog/posts/the-story-

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        mmu_man boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Cdrik ⏚🌻 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @Bristow_69@framapiaf.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Si vous vous demandez ce que sont capables de réaliser des élèves de terminales en , et sans IA, c'est ici en 2 minutes (participation aux Trophées NSI) :

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tube-sciences-technologies.app

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fier de (et ce n'est pas grâce à moi 😂 )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @mgorny@social.treehouse.systems

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <+mgorny> that's gunicorn
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <+mgorny> looks like vibecoding hard
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <@sam_> sigh
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <@sam_> github.com/benoitc/gunicorn/pu
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <@sam_> i agree it looks like it
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <+mgorny> how else would a dead-so-far project suddenly make dozen commits in a day?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <@sam_> I really wish they'd leave projects "dead"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <@sam_> it's far more honest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Adam Johnson :django: :python: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @adamchainz@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I've just done a pass over a client project with deptry, and it worked great for finding unused dependencies!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          deptry.com/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Adam Johnson :django: :python: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @adamchainz@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Wow, thanks @hugovk for making my "import datetime as dt" recommendation official in the Python docs, with a link to my blog!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            github.com/python/cpython/comm

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Python Software Foundation » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @ThePSF@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Using for but not involved in the community? You're leaving a lot on the table! Watch the PSF's Executive Director @baconandcoconut on from @jetbrains to explore why community participation is at the core of Python's power. 🎤🐍 youtube.com/watch?v=DkN7P4Cmto8

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Je reprends en simplifiant :

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                for i in iterable
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                liste_finale=[objet for objet in liste_finale if objet not in autre_liste[i]]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                C'est valide comme syntaxe ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Ma question est si liste_finale peut être des deux côtés de l'affectation, dans le cas précis d'une soustraction de liste

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  un épisode du podcast @talkpython qui parle de la création de l'outil de génération de site statique Zensical : talkpython.fm/episodes/show/54

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  L'invité, @squidfunk, est le créateur du plugin Material for Mkdocs ; il a créé l'outil zensical.org/docs (en avec une API pour écrire des plugins) suite à l'annonce de la version 2.0 de Mkdocs, dont l'architecture est incompatible avec les 300+ plugins développés par des tiers.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @brettcannon Thanks for this writeup!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    "What can you do as a person if you don't have code to check that things line up (which isn't a lot of code; the lock file should have the index server for the package, so you follow the index server API to get the digital attestation for each file and compare)?"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Let's build this into common tooling! Directly into installers like pip and uv? And pip/uv audit?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Python Tip #84 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use variables to improve code clarity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Today's tip is the inverse of yesterday's tip.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Well-named variables CAN make your code more readable and they don't really make your code less efficient (after all, variables are just pointers).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      🧵 (1/2)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Reuven M. Lerner » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @Reuven@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Every import in executes the module, from start to finish.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Meaning? Big modules slow down your program's startup time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Coming in Python 3.15 this October: "lazy import", which delays the load until a name is used:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lazy import MODULE
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lazy from MODULE import NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Nicoco boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]mathieui » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @mathieui@piaille.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I released yesterday version 0.16 of Poezio, a terminal XMPP client, here is the blog post with a release announcement: blog.mathieui.net/poezio-0-16.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Some nice bugfixes (thanks @ge0rg for testing), and finally handling of message moderation & retraction.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Note: the fact that we very often share version numbers with @profanity is a pure coincidence!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ypeter boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Rod2ik 🇪🇺 🇨🇵 🇪🇸 🇨🇱 🇺🇦 🇨🇦 🇬🇱☮🕊️ » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @rod2ik@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Alors en fait je vois qu'il y a un autre moyen d'aboutir à mon objectif, en m'attaquant à l'itérable utilisé pour créer l'itérable de tuple :

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            objects_needing_specials = [obj for obj in universe_objects if random.random() < base_chance]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            for e in empire_home_systems :
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            objects_needing_specials = [obj for obj in objects_needing_specials if obj not in fo.systems_within_jumps_unordered(5, [e])]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Ça peut marcher de filtrer la liste à partir d'elle-même ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Cette syntaxe est acceptable ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Marcus Adams » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @gerowen@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you've ever installed , you have remedial actions you need to take immediately.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Headline: A popular Python library just became a backdoor to your entire machine

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Link: xda-developers.com/popular-pyt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Lobsters » 🤖 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @lobsters@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                BlogMore v2.2.0, now with post counts in the archive page. blog.davep.org/2026/03/23/blog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  “But there's another issue that often crops up when splitting text into lines: trailing newlines.”

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Read more 👉 pym.dev/splitlines/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    So @andyc asked about finer control for code blocks in BlogMore and now I'm sat on my sofa amusing myself by toggling contrasting themes...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Lien Rag » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @lienrag@mastodon.tedomum.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Question Python : quand on crée un itérable de tuples avec zip, est-ce que l'on peut faire un test sur les valeurs d'un des itérables en entrée avant d'intégrer le tuple correspondant à l'itérable de tuple ?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Dans le but de ne pas intégrer le tuple correspondant à l'itérable de tuples s'il rate le test, donc.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        RE: fedi.lwn.net/@lwn/116284466298

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        " It collects and exfiltrates a wide variety of information, including SSH keys, credentials for a number of cloud services, crypto wallets, and so on".

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Lily boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]James Bennett [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @ubernostrum@infosec.exchange

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          New blog post: Rewriting a 20-year-old library

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          b-list.org/weblog/2026/mar/23/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            New post on the Python Insider blog from Ken Jin:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            "Python 3.15's JIT is now back on track"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            blog.python.org/2026/03/jit-on

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Stylus [He/Him/They/Them] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @stylus@social.afront.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              huh am I nuts or are python datetimes very broken for < and - across DST changes?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @anze3db présente une démarche optimisant le démarrage d'une application :
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - le drapeau "python -X importtime ..." mesure les temps des imports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - "if TYPE_CHECKING:" pour déclarer des imports en tête de module et faciliter les outils de vérification de type
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - ruff.lint.flake8-tidy-imports.banned-module-level-imports déclare les modules à chargement localement
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ⚠️ ça déporte ces temps de chargement aux 1res exécutions des requêtes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                blog.pecar.me/speeding-up-djan

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  🗳

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Florian Haas [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @xahteiwi@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  WHEREAS,

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Most developers these days work with a GUI;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Most screens these days use a 16:9 aspect ratio;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Hardly anyone uses a screen resolution of less than 1920px horizontal;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Even at a font size of 14pt, one can fit approximately 180 monospace characters in a terminal of that width;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  NOW, THEREFORE, BE IT RESOLVED,

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PEP 8's current 79-character line length limit be doubled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Motion seconded.:12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This is heresy.:14
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AodeRelay boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Flohw » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @flohw@pouet.chapril.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    À la recherche d'un travail Développeur Senior ou Lead Tech Symfony, télétravail complet ou partiel mais sur Lyon ou Grenoble avec au moins 3 ou 4 jours de TT et horaires aménageables. S'il y a Angular ou un autre langage que PHP (Python, par exemple) c'est bien.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Veronica Olsen » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @veronica@mastodon.online

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is incredibly depressing news. Scam Altman is now in control of the supply chain of a significant portion of the Python community.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fuck this shit.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      astral.sh/blog/openai

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]jbz » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @jbz@indieweb.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        🦾 Project Detroit: Java interop with JavaScript and Python

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        "The novel approach that we are taking with Detroit is that we are embedding the V8 and CPython runtime directly inside the JVM process,"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        go.theregister.com/feed/www.th

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]AstraLuma [She/Her] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @astraluma@tacobelllabs.net

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Hey, in light of github.com/encode/httpx/discus , does anyone know of how to get in touch or give feedback?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I guess there's a stackoverflow tag

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]scy » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @scy@chaos.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            So, in the ecosystem, people can build a package like roave/security-advisories, which has a huge list of "conflict" dependencies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            These don't say "install this as a dependency", but instead "I'm incompatible with that dependency in that version". And the versions listed there are those with known security vulnerabilities, effectively preventing you from installing them, which is good.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Is there something similar in the ecosystem? Is it even possible?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            github.com/Roave/SecurityAdvis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Daniel Quinn » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @danielquinn@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RE: wandering.shop/@xgranade/11625

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This is an excellent take on the whole / situation. It's a good read for all nerds.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              zeh boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Cassandra is only carbon now [she/they] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @xgranade@wandering.shop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A few thoughts on Astral / OpenAI, now that the emotions have sat for a bit.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              First, let me start by noting that AI is an attack on open source, inherently, by necessity, and at a structural level. That argument is bigger than Astral, but the short version is that you cannot simultaneously expand the public commons and work towards it's enclosure; moreover, if the public commons do not stand for the public good, then it's not really a commons any more.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Wolf » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @YesJustWolf@hachyderm.io

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I’m incredibly tired of people posting with a (programming) language tag just to hate on that language. Their **words** are always: why said language is wrong and awful and no one should use it, or how the hell did this language become so popular when mine is obviously superior; but their motivations are never that sophisticated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                **Their** language thinks about the problem in some particular way, and they’re so familiar with that way of thinking that it has become part of their identity. The target of their hate thinks about the problem some other way, and that is now an affront to them … to their identity … to their sense of self-worth.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I prefer Python to Ruby (and I’m not a Ruby expert, so I could be persuaded). That doesn’t make Ruby bad or Python good! I prefer Rust to C++ (and by the way, I **am** a Python and C++ expert — and **not** a Rust expert!).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Don’t shut out alternatives! I’m not saying you have to love them or even **use** them; but they still exist because something in them has value! If you pretend they don’t, you’re just deceiving yourself. Like being a flat-earther. Figure out what you can learn! Grow! Keep using your favorite if it remains the best fit for your problem. Just use it smarter!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  un article de @mkennedy indiquant que depuis Python 3.12, asyncio.create_task() ne garde qu'une référence faible vers la tâche lancée dans la boucle d'évènement, et que celle-ci peut se faire garbage-collecter avant (la fin de) son exécution : mkennedy.codes/posts/fire-and-

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  La solution ? Garder une référence forte de la tâche (dans un set, par exemple) et ajouter un done_callback qui l'en retire pour la déréférencer afin que le garbage collector puisse faire son travail.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Fabien LOISON (FLOZz) » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @FLOZz@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    🚀️ Pontoon Debian v2026.03.20 released

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    I just released a new version of Pontoon Debian, a manual to install and maintain Pontoon (#Mozilla web-based translation software) on and .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ➡️ wanadev.github.io/pontoon-debi

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Please note that this may be one of the last updates for this project. If you are using it, please let me know and consider contributing. 🙂️

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Fipaddict, » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @fipaddict@diaspodon.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sur le forum de l' , un échange intéressant suite à l'annonce du rachat de la société Astral (éditeur de 'uv', entre autre) par OpenAI.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      discuss.afpy.org/t/astral-sh-r

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]James Bennett [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @ubernostrum@infosec.exchange

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you’re looking for a nice, modern, featureful package and environment manager, may I suggest PDM?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        And maybe also toss some funding their way.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pdm-project.org/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Hugo van Kemenade » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @hugovk@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          RE: mastodon.social/@hynek/1162565

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I use this, it's good! You never know when you might need the extra info, and this makes it really easy to check.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Ivan Enderlin 🦀 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @hywan@floss.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Nicolas Évrard » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nicoe@mamot.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            I don't run 'pip install' often enough that uv speed matters to me.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            I don't code fast enough so that ruff is an improvement over mixing flake, yapf, mypy and the like.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Something tells me I might not be in the target demographics of the people worried by Astral's acquisition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Kevin P. Fleming [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @kevin@mastodon.km6g.us

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @Techmeme Ugh. Ruff, uv, and ty are all now owned by OpenAI. Just what everyone was concerned about when Ruff showed up and started to replace existing tools.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Kushal Das :python: :tor: 🇸🇪 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @kushal@toots.dgplug.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Nicolas Dandrimont » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @olasd@mastodon.opportunis.me

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RE: techhub.social/@Techmeme/11625

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a fait l'acquisition de , l'entreprise qui édite différents outils de l'écosystème , écrits en :
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - ruff : linter et formateur de code
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - uv : gestionnaire de dépendances
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - ty : vérification statique de typage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Voir : astral.sh/blog/openai

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Techmeme » 🤖 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @Techmeme@techhub.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                OpenAI agrees to acquire Astral, which makes Python tools for developers, to integrate its team into Codex, and says Codex has 2M+ users, up 3x since January (Agnee Ghosh/Bloomberg)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                bloomberg.com/news/articles/20
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                techmeme.com/260319/p27#a26031

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Fipaddict, » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @fipaddict@diaspodon.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Chic, les vidéos de la PyCon FR 2025 sont en ligne ici -> pyvideo.org/events/pycon-fr-20

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Hop, de quoi bien occuper les pauses au boulot ;)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Seth Larson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @sethmlarson@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The popular library “Requests” needs your help! @nateprewitt plans to add type hints to the API and is requesting feedback:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    sethmlarson.dev/python-library

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Dave Pearson » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @davep@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      BlogMore v2.0.0 is now available. It's my experiment in building an for my blog using nothing but . This update gives more control over how various URLs are made up.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      blog.davep.org/2026/03/18/blog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Dam H. boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Veronica Olsen » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @veronica@mastodon.online

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        I'm re-reading Monstrous Regiment by Terry Pratchett, and decided to add a new random error window title to @novelwriter 😁

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        A screenshot of some Python code. A set of comments say: "Pick a random window title from a set of error messages by Hex the computer, Unseen University, Ankh-Morpork, Discworld and other Discworld references."

The messages to choose from are: "+++ Out of Cheese Error +++", "+++ Divide by Cucumber Error +++", "+++ Please Reinstall Universe and Reboot +++", "+++ Error At Address 14, Treacle Mine Road +++", "+++ Abomination Unto Nuggan Error +++".

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alt...A screenshot of some Python code. A set of comments say: "Pick a random window title from a set of error messages by Hex the computer, Unseen University, Ankh-Morpork, Discworld and other Discworld references." The messages to choose from are: "+++ Out of Cheese Error +++", "+++ Divide by Cucumber Error +++", "+++ Please Reinstall Universe and Reboot +++", "+++ Error At Address 14, Treacle Mine Road +++", "+++ Abomination Unto Nuggan Error +++".

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Joseph Nuthalapati :fbx: » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @njoseph@social.masto.host

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I was completely unaware of this project until today. CPython is getting a JIT (just-in-time) compiler!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python 3.15’s JIT is now back on track | Ken Jin’s Blog
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          fidget-spinner.github.io/posts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]PyCon US » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @pycon@fosstodon.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            🚨ICYMI: The 2026 schedule is officially live!!🚨

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Talks, Tutorials, and Charlas—it’s all there!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Don’t wait, register today and start planning your week with us in Long Beach, CA! 🌴

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            👉 us.pycon.org/2026/schedule/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Marcos Dione boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Norore » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @Norore@social.zdx.fr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              NaN is weird. - Dan Shernicoff's Musings
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              brassnet.biz/blog/nan-is-weird

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Marcos Dione boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]Florian Haas [he/him] » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @xahteiwi@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you are a developer who maintains a client library for a REST API, do you know how you can make me, a user of your library, truly happy?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Riddle your library with `logging` calls. And give me a easy knob, preferably an environment variable, to turn the log level up. Way up.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Python Rennes » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @pythonrennes@social.breizhcamp.org

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  un article très complet de @gaborbernat présentant les différents types de vulnérabilités d'un projet Python via ses dépendances et des façons d'y remédier : bernat.tech/posts/securing-pyt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - définir des versions strictes de vos dépendances
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - utiliser un lockfile pour spécifier les dépendances transitives
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - inclure une étape d'audit des dépendances dans son intégration continue
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  - publier vos versions sur PyPI via le système Trusted publishing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  New blog post: How big are the blocks in my city.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  grulic.org.ar/~mdione/glob/pos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Map of Marseille with block sizes painted in a green yellow orange red logarithmic scale and the road network in blue (the ones that define the blocks), grey (public but dead ends) and white (private).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alt...Map of Marseille with block sizes painted in a green yellow orange red logarithmic scale and the road network in blue (the ones that define the blocks), grey (public but dead ends) and white (private).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Paul :python: :django: boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [?]Tim Schilling » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @CodenameTim@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you're new to contributing to Django and you're using an LLM, please consider reading this. We want to bring you into the community, but we can't do that only interacting with an LLM's output.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    better-simple.com/django/2026/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Ash_Crow boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Python Tip #75 (of 365):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Don't use the string split() method for splitting lines. Use the splitlines() method instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Instead of calling split with "\n":
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      lines = poem.split("\n")

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use the splitlines method:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      lines = poem.splitlines()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The string splitlines method will:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Trim a trailing newline (if there is one)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Split by "\r\n", "\n", or "\r"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      More on splitlines: pym.dev/splitlines/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This week's daily tips are all about string methods in Python.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Paul :python: :django: boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [?]Tim Schilling » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @CodenameTim@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you're new to contributing to Django and you're using an LLM, please consider reading this. We want to bring you into the community, but we can't do that only interacting with an LLM's output.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        better-simple.com/django/2026/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Marcos Dione boosted

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [?]Marcos Dione » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @mdione@en.osm.town

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          I have been suggested that the company I'm working is not doing well. Than and a push for AI is telling me it's maybe time to move on.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          What am I? Currently I'm doing , , GitHub/GitLab admin (yes, both), some Kafka, used to do some Postgres (now we have a DB team), Ansible and more.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Edit: more info: en.osm.town/@mdione/1163024235

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          What do I want? No AI, no gambling, no blockchain. In or remote. I can invoice abroad, but I would rather be an employee.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [?]Robert Wolff » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @mahlzahn@nerdculture.de

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            “A historic moment for Censor”

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            – the PDF redaction tool for the @gnome desktop – comes now with a new edit history. It allows you to undo and redo redactions using the right-click context menu or keyboard shortcuts. Also, a bug that prevented repeated saving to the same file path was fixed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Get the new version from @flathub: flathub.org/apps/page.codeberg, and find it on @Codeberg: codeberg.org/censor/Censor/rel

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You may now talk Chinese, Dutch, English, Estonian, Finnish, French, German, Italian, and Vietnamese with Censor (thanks a lot to the translators!). If your language is missing from this list I invite you to contribute at Codeberg Translate: translate.codeberg.org/engage/

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [?]Robert Wolff » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @mahlzahn@nerdculture.de

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              “Better safe than sorry”

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For release 0.5.0 of , a lot of work went into improving the security of PDF redaction.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PDF documents are tricky, and irrevocably removing elements from them is even more. With this release, before saving a redacted document, garbage is now properly collected and documents are sanitized, which means that metadata, page thumbnails, etc. are removed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Also, vector graphics are now removed with a more strict option when they overlap with redaction rectangles. On top of that, I added redaction of PDF annotations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The user interface was refreshed: with undo and redo buttons in the toolbar and improved document saving experience. Drawing rectangles is now indicated by a crosshair cursor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Thanks to the translators, you may now talk also Czech with Censor!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Get it from @flathub: flathub.org/apps/page.codeberg, or contribute on @Codeberg: codeberg.org/censor/Censor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [?]@pndc » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @pndc@social.treehouse.systems

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I'm a software developer and sysadmin who could really use being .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                What I'd really like to do is Rust, but once you ignore the dubious crypto and AI stuff, there seems to be nothing out there. Prove me wrong with a counterexample!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I've spent decades fixing Enterprise mudballs mostly written in . If you've got a crufty legacy system that everybody else is too scared to touch, I'm your man. I love fixing stuff like that.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                I've also done commerical , , /#C++, and although I don't usually admit it on my CV but these are now Trying Times when everything is on the table, even (the longest six months of my life).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Perl naturally leads into Unix system administration and infrastructure. I've built and maintained mail clusters, VoIP systems, network monitoring, DNS management platforms, that sort of thing. If it's non-sexy but something which needs to be done, I'm there.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Available immediately, for contract or permie, onsite in Amsterdam/Randstad or remote to anywhere.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [?]Trey Hunner 🐍 » 🌐
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @treyhunner@mastodon.social

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  “If you're using print calls to debug your Python code, consider using f-strings with self-documenting expressions instead.”

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Read more 👉 pym.dev/debugging-with-f-strin

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Back to top - More...