home.social

#python315 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #python315, aggregated by home.social.

fetched live
  1. What's New in Python 3.15:

    ast

    * Add color parameter to dump(). If True, the returned string is syntax highlighted using ANSI escape sequences. If False (the default), colored output is always disabled. (Contributed by @stanfromireland.)

    * The command-line output is now syntax highlighted by default. This can be controlled using environment variables. (Contributed by @stanfromireland.)

    docs.python.org/3.15/whatsnew/

    #Python #Python315 #WhatsNew

    mastodon.social/tags/WhatsNew

  2. 🐍🚀 Out now: a full sweep of security releases of Python 3.11-3.15

    🔒📜 They address the compromised eMudhra intermediate CA keys. These keys are now blocked by the ssl module as a last resort against their use. Normal uses of pip, including to upgrade pip itself, are now safe from attacks based on those compromised keys, even if pip hasn’t been updated yet.

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

    #Python #release #Python315 #Python314 #Python313 #Python312 #Python311 #eMudhra

  3. 🐍🚀 Out now: expedited security releases of Python 3.15 and 3.14, and a special security release of 3.13

    They all upgrade the bundled pip to version 26.2.2, which includes certifi 2026.10.19 to address the eMudhra / emSign CA certificate security incident.

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

    #Python #Python315 #Python314 #Python313 #release

  4. I don't know what you're doing on the first Tuesday of even months for the next two years, but I've just planned out mine:

    peps.python.org/pep-0790/#bugf

    You can add Python releases to your calendar with this iCal:

    peps.python.org/api/#release-s

    #Python #Python315 #PEP790

  5. New release of Vermin! v1.9.1. Supporting Python 3.15 and finally with proper self-doc and PEP 701 f-string detection! Had to combine AST analysis and code heuristics to get it done, because the Python parser doesn't yield enough info. (⌐■_■)

    github.com/netromdk/vermin/rel

    #python #python315 #fstrings #pep701 #dev #vermin

  6. Wir sind zurück! 🐍 Python 3.15 ist da, und @jochen, @oryon_dominik und @shezi gehen die Neuerungen durch: Sentinels (PEP 661), der Sampling-Profiler Tachyon, UTF-8 als Default-Encoding, Lazy Imports, FrozenDict, JIT und Free-Threading. Außerdem: CalVer vs. fortlaufende Versionsnummern, Rust und Swift mit KI-Agenten und sehr große Zahlen. Picks: interne CAs mit mkcert & step-ca, Trafilatura und herdr.

    https://python-podcast.de/show/python-315/

    #Python #Python315 #Podcast #Django #CalVer

  7. Python 3.10 reached end of life a couple weeks ago.

    If you maintain a library and you're wondering what's in Python 3.11 that you can use, here's a cheat sheet.

    Upgrading to Python 3.14 because you like to stay one Python version behind at all times? This cheat sheet's for you too.

    It's nowhere near comprehensive. I've tried to make short but useful.

    The printable version shows more features and a support timeline More cheat sheets at pym.dev/cheat-sheets

    #Python #Python315

  8. @f_dion 💡 Tip: before Python 3.15 is your minimum, instead of the lazy keyword, you can use __lazy_modules__ instead:

    __lazy_modules__ = {"json"}

    import json
    import sys

    Python 3.14 and earlier will ignore it, and 3.15+ does the lazy thing.

    docs.python.org/3/whatsnew/3.1

    docs.python.org/3/reference/da
    #Python #python315 #LazyImports

  9. Python 3.15 hoz 7–12% gyorsulást JIT-tel és lazy importtal — elképzelted már, hogy ez mennyit javítana a te indulóidődön? Új frozendict, sentinel, UTF‑8 alapértelmezett és profilozó eszközök is jönnek. Részletek: linuxmint.hu/hir/2026/10/megje

    #Python315 #Python #JIT #lazyimport #frozendict #sentinel #UTF8 #profiling #Tachyon #free_threading

  10. RE: chaos.social/@defnull/11741691

    The new #python315 profiling tools are great, managed to find and improve some hotspots with the heatmap and flamegraph visualisations. All those tools existed before, but beeing part of Python stdlib makes them way more accessible. A great addition to the toolbelt.

  11. Python 3.15 is the latest stable release. UTF-8 is now the default text encoding, aiming for more consistent text handling across operating systems. The release also adds explicit lazy imports, which load a module when it is first used, plus the built-in frozendict type.

    The experimental JIT showed a 7–8% geometric-mean improvement over the standard interpreter on x86-64 Linux, and 11–12% over the tail-calling interpreter on AArch64…

    en.hacks.gr/kykloforise-i-pyth

    #Python #Python315 #PEP810 #Tachyon

  12. Python 3.15.0 release announced by @ThePSF - New features: unpacking in comprehensions, more color, lazy imports, new frozendict type, UTF-8 as default encoding, etc. blog.python.org/2026/10/python #OpenSource #Python🐍 #Python315 #software #engineering #tech

  13. I made a 14 question quiz on some hand-picked Python 3.15 features:
    pym.dev/quiz/python-3.15

    Take it before watching my video on 3.15 to see how many you already knew.

    Guessing before you learn something helps learning stick better, even when the guesses are wrong (sometimes called the pretesting effect).

    I doubt you'll get most of them right, even after the video. I just took it and got 13/14... and I made the quiz and have been studying these features for a while now.

    #Python #Python315

  14. also

    ✅ update 3.15 label:
    github.com/python/cpython/labe
    ✅ rebuild devguide to update:
    devguide.python.org/versions/
    ✅ unlock 3.15 branch

    And I think that's it!

    Hey, @savannah, you're up next with the first 3.16 alpha on Tuesday! 🚀

    hugovk.dev/next-release/

    #Python #Python315 #Python316 #release

  15. It's not over yet!

    I updated PEP 790 github.com/python/peps/pull/51, which also updates the PEPs API, which is used to point the docs at /3/ to 3.15, kicked off a docs build: docs.python.org/3/

    Unpin mastodon.social/@hugovk/115333 and pin mastodon.social/@hugovk/117411 to my profile.

    (3.14 might not be the newest, but we can still celebrate with pie!)

    And then unlock the 3.15 branch so the core team can start merging 185 PRs that didn't get in during RC:

    github.com/python/cpython/pull

    #Python #Python315 #release

  16. Python 3.15 is now out! 🐍🎉

    My favorite new features include:

    • UTF-8 default file encoding everywhere (less buggy cross-platform reads/writes!)
    • a new sampling profiler with nearly no overhead
    • explicit lazy imports: lazy import json
    • unpacking in comprehensions: [*sub for sub in nested]
    • a built-in sentinel type
    • frozendict
    • pprint(data, expand=True)
    • re.prefixmatch
    • more helpful error messages & more color

    A short demo of all my favorites:
    youtu.be/OD0QObnCZmA

    #Python #Python315

  17. 🐍🚀 Out now: Python 3.15.0 final!

    💤 Lazy imports!
    🧊 frozendict builtin!
    💂 sentinel builtin!
    📉 Tachyon profiler!
    🖼️ Frame pointers everywhere!
    🛅 Unpacking in comprehensions!
    🗣️ UTF-8 as the default encoding!
    🛞 Stable ABI for free-threading!
    🆕 Package startup config files!
    ⌨️ TypedDict & TypeForm!
    🐎 Faster JIT!
    🎨 More colour!
    🚌 & more!

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

    Huge thanks to @sovtechfund supporting my work as release manager and enabling another smooth release!

    #Python #Python315 #CPython #release

  18. Windows complete, tags pushed upstream, Sigstore signing done, adding files to python.org... nearly there...

    #Python #Python315 #release

  19. In the meantime, the GitHub Actions build has finished, SBOMs created and some things uploaded.

    The Windows process has paused a couple of times, awaiting button clicks to approve signing of binaries. The whole release team gets emails about this, so no sneaking out signed releases. 🥷

    #Python #Python315 #release

  20. The release artifact build failed, need to bump blurb in that lockfile too:

    github.com/python/release-tool

    Like this:

    github.com/python/release-tool

    Now restarted that workflow with the existing CPython tag, no need for retag.

    This builds source+docs tarballs and Android+iOS artifacts. Takes ~30 mins.

    github.com/python/release-tool

    Ned Deily has started the macOS installer builds. And I've started the Windows installer builds, takes ~2 hours:

    dev.azure.com/Python/cpython/_

    #Python #Python315 #release

  21. OK, merged and released (really easy using Trusted Publishing, docs.pypi.org/trusted-publishe), lockfile updated and backported.

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

    Restarted the release and that's better now.

    A temporary branch and tag has been pushed to my fork, and I need to verify the release commit does not contain any unexpected changes:

    github.com/hugovk/cpython/comm

    All looks good. Next to start the installer and artifact builds.

    #Python #Python315 #release

Share on Mastodon

Enter the server where you have an account.