This is the third chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! In the previous chapter you learned how to execute a variety of…
Are you as tired of .pth file as I am[1]? Here’s my proposal for a more structured replacement. Thanks to @brettcannon and @emmatyping for their early feedback. Python Enhancement Proposals (PEPs) PEP 829 – Package Startup Configuration Files |…
This is the second chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! This chapter provides an overview of the most basic usage of…
Hello, I’ve written a PEP proposing support for yield from in async generators, as well as an async yield from statement. This is currently targeted towards 3.15, but with the beta freeze coming up soon, this might not make that cutoff if accepted.…
One of the major thing at work is XML, due to all things identity. Yes, XML and SAML are very much alive. SWAMID is the identity fedeation for research and higher education in Sweden and edusgain which is the global identify federation around the…
This is a discussion thread on PEP 827 – Type Manipulation. The motivation for this PEP comes from a gap between Python and TypeScript: Python has an incredibly dynamic and powerful runtime, while TypeScript has an incredibly expressive and powerful…
For the past couple of days, I've been vibe coding a fully functional text editor using Rust (yes, yet another text editor). So, I thought it would be interesting to share some thoughts, the learnings, and problems I faced during this process.
Suggested and PR’d by @dstufft, we’ve made a small change to PEP 1 & 12. Now the Rationale section comes after the Specification section, not before. It makes more sense to provide the reasoning for the change after presenting the change. Enjoy! 2…
A couple of the elder statesmen are happy to announce PEP 813, a proposal to build-in optional pretty printing for print(), str.format(), and f-strings, and to define a protocol classes can implement to participate in and customize how their…
Hello, I merged a new version of PEP 803, based on previous discussion (core, packaging, and some private conversations). The result is online; also see the PR to see exactly what changed. The main change is that a new stable ABI, abi3t, is treated…
This document introduces PEP 821: Python Enhancement Proposals (PEPs) PEP 821 – Support for unpacking TypedDicts in Callable type hints |... This PEP proposes allowing Unpack[TypedDict] in the parameter list inside Callable, enabling concise and…
replyfast is a Python module to receive and send messages on Signal. You can install it via python3 -m pip install replyfast or uv pip install replyfast I have to add Windows builds to CI though. I have a script to help you to register as a device,…
Hi everyone, After extensive discussion and delays, I’m excited to present PEP 797, which proposes introducing an object proxy to share arbitrary objects between subinterpreters. Here’s the full text: Python Enhancement Proposals (PEPs) PEP 797 –…
Py (daughter) is now 11 years old, and she spends a lot of time on Scratch, makes beautiful and fun things. But, she thinks she is not a programmer as she is moving blocks and not typing code like us. I had questions for long time about how to move…
Hello, I’ve written PEP 820, slightly simplified from last year’s “pre-PEP” thread, a proposal to unify PyType_Slot and PyModuleDef_Slot, and fix some of their shortcomings. The abstract: Replace type and module slots with a new, more type-safe…
After 2005 again in 2025 I wrote only 8 blog posts. The year was difficult in many different ways. But, from September things became a bit better. I could not do a lot of things which I thought I would do, or rather I promised to do. I hoping to…
I wrote a PEP to upstream the core of the Pyodide FFI. This is necessary for using most JavaScript APIs on the Emscripten platform. Asyncio support, buffer protocol support, and a more complete JS API are all deferred. Python Enhancement Proposals…
I don't know about you, but 2025 flew really fast for me. As reach the end of the year and following my tradition of writing about what to expect for the next year, here is my take on some trends that might shape 2026.
A few weeks ago I released Johnnycanencrypt 0.18.0. It is a Python module written in Rust, which provides OpenPGP functionality including allows usage of Yubikey 4/5 as smartcards. This release was in response of CVE-2025-67897 against sequoia-pgp.…
A few weeks ago I released Johnnycanencrypt 0.17.0. It is a Python module written in Rust, which provides OpenPGP functionality including allows usage of Yubikey 4/5 as smartcards. Added Adds verify_userpin and verify_adminpin functions. #186 Fixed…