skip to navigation
skip to content

Planet Python

Last update: December 01, 2026 04:47 PM UTC

December 01, 2026


Django Weblog

Welcome Our Executive Director

We are honored to introduce Paola Ferrario as the Django Software Foundation's first Executive Director.

Paola brings more than 19 years of experience in nonprofit fundraising, international economic development, and partnerships. At the DSF, she will focus on growing the resources that keep Django sustainable and on supporting the Fellows, volunteers, and contributors who make the project what it is.

Most recently, Paola was Director of Development at Floating Museum, a Chicago arts nonprofit, where she led foundation, government, corporate, and individual giving. Earlier in her career, she founded Paraguay's first AgTech accelerator with Global Entrepreneurship Network Paraguay, worked at the U.S. Embassy in Asunción, and received NADO's Aliceann Wohlbruck Impact Award for her economic development work. She holds an MBA from Universidad Europea de Madrid and a BA in Communications from Universidad Nacional de Asunción.

Paola speaks six languages: English, Spanish, Portuguese, Italian, German, and Guaraní. She has worked as an interpreter for organizations including the United Nations and the European Union, and she sees working across languages and cultures as a real asset for a community as global as Django's.

She lives in Chicago, where she volunteers with No Salt Sailing, a nonprofit offering therapeutic sailing for military veterans, and leads the local LPGA Amateurs chapter.

Say hello

Paola would love to hear from you. If you work at a company that depends on Django, run a Django event or community group, or have ideas about how the DSF can better support the project, please reach out to her at paola@djangoproject.com.

Please join us in welcoming Paola to the Django community!

Thank you

Hiring an Executive Director has been one of the board's biggest goals for the past two years, and we announced the search back in June. Thank you to everyone who applied or shared the posting.

Thank you to the six Django agencies that jointly pledged funding toward the Executive Director's first year: Caktus Group, Lincoln Loop, Six Feet Up, Cuttlesoft, OddBird, and Two Rock Software. Read the Docs also chipped in after we announced the search. Thank you as well to all of our donors who chipped in to help us fundraise.

Thank you to the Board of Directors, who were all involved from start to finish through several rounds and dozens of interviews, and to our Board Assistant and our Fellows, who helped throughout the last three months. Together, the group put hundreds of hours into this search.

December 01, 2026 02:00 PM UTC


Python Software Foundation

PSF Grants Program Funding Round: May 1 - September 30, 2027

As we announced in our last post about grants, the Python Software Foundation (PSF) is reopening the PSF Grants Program with a restructured schedule of two funding rounds per year. This post outlines eligibility, grant types, caps, schedule and more details for the upcoming funding round that covers Python conferences and workshops taking place between May 1 and September 30, 2027. 

One big change we’d like to highlight is that we have brought on a new piece of software to manage our grant-making process: Good Grants. This new platform is integrated with psfmember.org and will significantly reduce workload for our program administrators and Grants Work Group (GWG). It should also provide a more modern and automated process for the program’s applicants. More information below!

The upcoming funding round

Eligibility Timeframe & Exceptions

The upcoming Grants Program Funding Round will be scoped to Conferences and Workshops of all types that are scheduled between May 1 and September 30, 2027. 

Based on feedback from the community and the first grants funding round we are also introducing an exception to this time frame. Events that take place before May 1st, 2027, but no earlier than March 1st, may also apply. The PSF understands that each funding round cycle is quite long (~8 months from applications opening to the end of the eligibility period) and that many community events are organized on a shorter cycle. This exception hopes to address this gap and provide more opportunities for community events to receive grants. Applications that fall outside of the standard May 1 - September 30 eligibility time frame will be given second priority. 

Grant Types & Caps

To continue our focus on sustainability for the PSF Grants Program, we are maintaining a limited scope for grant types and caps. 

Categories of grants that will be considered (includes virtual):


The upcoming Grants Program Funding Round will maintain the following caps:


Please note that the caps are the maximum amount applicants can request. The guidelines the Grants Work Group observes are generally as follows:

The GWG will not consider exceptions to exceed the maximum, and if you don’t need the maximum, please ask for less. 

Notes on Scope, Criteria, and Communication

All previous criteria and guidelines for the PSF Grants Program will be applied to this funding round. This post won’t go over every single piece of information required on the application, but we want to highlight a couple of things:

Detailed Upcoming Funding Round Schedule

Listed in the table below is the anticipated schedule for the upcoming PSF Grants Program Funding Round. Based on our experiences from the last funding round, we have:

Please note that applications open in a couple of weeks!

Date Phase Description
December 14, 2026 - January 4, 2027 Application Applications open; PSF Staff performs initial reviews as applications are received; missing information is collected
Note: There are several PSF holidays during this time frame so responses may be delayed.
January 4 - 11 Initial review PSF Staff perform in depth reviews and continue to gather missing information
January 11 - February 4 GWG review Grants Work Group review; clarifying information collected as needed
February 4 - 10 Vote Grants Work Group votes
February 11 - 19 Decision Decisions communicated to applicants
February 11 and onwards Disbursement Funds disbursed
.table { display: block; overflow-y: hidden; overflow-x: auto; scroll-behavior: smooth; } .table thead { display: table-header-group; vertical-align: middle; border-color: inherit; color: inherit; background: darkcyan; } table, th, td { border: 1px solid black; border-collapse: collapse; } tr { display: table-row; vertical-align: inherit; border-color: inherit; } table th { padding: 16px; text-align: inherit; border-bottom: 1px solid black; color:white!important; } tbody { display: table-row-group; vertical-align: middle; border-color: inherit; } table:not(.tr-caption-container) { min-width: 100%; border-radius: 3px; }
After things kick off, the PSF may need to adjust dates by a couple days here and there. This program is dependent on just a couple of staff (Hi, Marie and Laura!) and our wonderful Grants Work Group (Thank you, team!) that is composed of volunteers. If dates need to be adjusted, we will be sure to communicate that directly to applicants.

The PSF asks that applicants closely monitor their emails from the point they submit their application to the end of the review phase. We would be disappointed to see events and initiatives miss out on grant funding due to gaps in their application. The more responsive applicants can be, the better!
 

Good Grants: How to Apply

As we mentioned at the beginning of this post, we are introducing Good Grants, a new platform for the PSF’s grant making processes. The platform has a lot of capabilities, which we are just beginning to explore. The PSF expects to introduce more features and automation round over round as we get to know the platform. Applicants are encouraged to provide feedback about the new platform as we learn to use it together!

Here’s how to login an apply:

Find more information about customizing your account in Good Grant’s ‘Ultimate Guide for Applicants’ knowledge base article.

Questions or feedback?

The PSF expects questions and feedback about both the reopened Grants Program restructure and the upcoming funding round. Your feedback will help us improve during the process and for future rounds. There are multiple ways for you to reach out to us with your questions, feedback, and comments:


This is big news! And, applications for the next round are opening soon. To help answer the community’s questions, we are holding supplemental PSF Grants Program Office Hours on the PSF Discord:

Check out what times these are for you using this timezone converter. We welcome you to join us to ask your questions, discuss the process, suggest ideas for future rounds, or anything else related to the PSF Grants Program. 

About the Python Software Foundation

The Python Software Foundation is a US non-profit whose mission is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers. The PSF supports the Python community using corporate sponsorships, grants, and donations. Are you interested in sponsoring or donating to the PSF so we can continue supporting Python and its community? Check out our sponsorship program, donate directly, or contact our team at sponsors@python.org!

December 01, 2026 08:57 AM UTC


Tryton News

Missing some default access rights on series <= 8.2

EZO Labs Security using AI tools has discovered that some secret fields are missing expected read restrictions for authenticated users.

Remember that the access right setup of Tryton is only a default setup; it should always be reviewed per installation to correspond to the company’s business rules.

Workaround

A field access rule can be added for those fields to forbid access to users.

Resolution

All affected users should manually create the access rules for all series prior to 8.4.

Reference

Concerns?

Any security concerns should be reported on the bug tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

December 01, 2026 07:00 AM UTC


Python Software Foundation

Python is for Everyone: Grab PyCharm Pro for 30% off!

Today, the Python Software Foundation (PSF) is excited to share another way for you to participate in our 2026 end-of-year fundraiser AND get awesome benefits from JetBrains! We have the opportunity to once again partner with JetBrains to deliver a special promotion: 30% off PyCharm Pro with ALL proceeds going to the PSF. Read on to learn more about the PyCharm promotion, how to grab it while it lasts, and other ways you can contribute to the PSF’s 2026 end-of-year fundraiser. Sending a big thank you to JetBrains for stepping up to provide this awesome deal 🐍⚡️

LIMITED TIME! Grab PyCharm Pro at 30% off with a free tier of AI Assistant:

>>> Get PyCharm Pro! <<<

Bonus: PyCharm now ships with JetBrains Air, built-in support for working with AI agents. Pick Junie Lite, JetBrains' own model, right in the IDE and start building.

 

There are two ways to join our fundraiser through donate.python.org: 

>>> Donate or Become a Member Today! <<<


If you already donated, you’re already a PSF member, AND you already grabbed PyCharm at 30% off (look at you, you exemplary supporter!🏆) you can:

 

Your donations and support:

December 01, 2026 06:44 AM UTC


HoloViz

Security releases: Panel 1.11.2, 1.10.2, 1.9.6 and Lumen 1.4.1

Fixes for ten security issues in Panel and Lumen, including a High-severity issue in a Jupyter extension that is on by default wherever Panel is installed alongside Jupyter, and code execution through YAML specs in Lumen. Upgrade, or apply the workarounds.

December 01, 2026 12:00 AM UTC


Seth Michael Larson

Thoughts on “Super Mario Bros. on a QR code”

I saw a YouTube video about embedding the NES game Super Mario Bros. into a QR code by Game of Tobi (shared by Max Glenister in LWAL 48) and thought this was a fun meshing of a few of my past projects. The whole video is worth a watch, but at the end there is a link to create your own Super Mario Bros. QR code by supplying an NES ROM file for the game. This is done to avoid distributing copyrighted art assets made by Nintendo.

How to get a ROM of Super Mario Bros? Maybe you have a copy of Animal Crossing for the GameCube: I've written about how to extract the 21 NES ROMs from a ROM of Animal Crossing using a simple Python script. Among these ROMs is a compatible ROM of Super Mario Bros. that I've tested with this website to create a QR code. But when you attempt to scan the QR code... it doesn't work!

The QR code generated by the website doesn't scan because it uses a data URL with embedded text/html data. I've published an article about data URLs, using them within QR codes, and how they don't work in today's browsers and QR code scanners, unfortunately. So you'll need to manually copy and paste the data URL into your browser to load the game.

How is the game encoded into a QR code? This is where I learned something: QR codes can have more than one data "segment" and each segment can have a different mode. QR codes have four "modes" for embedding data: Kanji/Kana, Binary, Alphanumeric, and Numeric. The highest information density is "numeric", so we want to use this encoding as much as possible to contain more information.

The embedded data URL avoids needing to use base64 encoding to encode arbitrary bytes of the NES ROM by using a large integer and shifting compressed bytes out of the integer at runtime. This integer can be stored efficiently in the QR code by sandwiching a numeric mode QR code segment (with {ROM as integer}) between two binary mode segments containing the "HTML" (actually a top-level <script> tag):

<script>
for (n = BigInt("{ROM as integer}"), b = []; n; n >>= 8n)
  b.unshift(Number(n & 255n));
  new Response(
    new Response(new Uint8Array(b)).body.pipeThrough(
      new DecompressionStream("deflate-raw"),
    ),
  )
  .arrayBuffer()
  .then((a) => eval(String.fromCharCode(...(D = new Uint8Array(a)))));
</script>


Thanks for reading ♥ I would love to hear your thoughts! Contact me via Mastodon, Bluesky, or email. Browse the blog archive. Check out my blogroll.



December 01, 2026 12:00 AM UTC

November 30, 2026


Python Software Foundation

Announcing the PSF Security Roadmap for Python and PyPI

The PSF Strategic Plan was announced in September this year, and among the top program goals for the next five years are “Securing Python's Software Supply Chain and Distribution Infrastructure” and to “Responsibly Grow and Advance Critical Python Infrastructure”. This Security Roadmap puts the plan into motion; below are the PSF’s areas of focus on security for the upcoming year:

These plans are in addition to our ongoing commitments to Python ecosystem security, such as involvement in the Python Security Response Team, operating a CVE Numbering Authority,removing malware from PyPI, and continuing to expand access to security features everywhere that Python projects are developed.

Each section contains information about how to contribute to each area if you are interested. If you or your organization would like to support security work in the Python ecosystem more broadly through staffing please contact sponsor@python.org to support the PSF Developers-in-Residence program. Thanks to Alpha-Omega and Anthropic for sponsoring security-focused staff at the Python Software Foundation.

Sustainability of PyPI Malware Remediation

Back in 2024 we announced a new program for reporting malware to PyPI admins using an API for a tighter integration between security researchers scanning for malware and the admins triaging these reports. This program has been a quiet success so far, and we plan to expand the program in 2027 by expanding access to more researchers and reporters, using the data for autonomous remediation and better spreading the load where manual intervention is still necessary. Big thank-you to all security researchers contributing to this program and keeping the Python ecosystem safe.

The specific goal for how we plan to evolve this program is to reduce staff time spent on remediating malware reports that are high confidence. Leaning on the new “Quarantine” mechanic to drive malware reports to a resolved state while minimizing human intervention necessary for the volumes we’re experiencing today. Today we’ve already implemented this autonomous remediation only with a very high confidence signal, where multiple trusted reporters have to report the same project for an autonomous quarantine action to take place. For example, this autonomous trigger resolved the Telynx supply-chain attack in under 3 hours earlier this year.

Using the data we’ve collected over two years running this program we will refine the heuristics for autonomous quarantining of projects and releases to de-list malware and stop supply-chain attacks sooner without disrupting legitimate use of PyPI or requiring ever-increasing staff time. Look forward to us publishing specific metrics about manual versus autonomous responses to malware in future security updates.

No autonomous system is perfect, and we expect there to still be false-positives. To mitigate this we’ll be adding a new “Malware Triager” role with access to manage malware reports on PyPI without having full access to the PyPI administrators dashboard and privileges. Today, only a small number of PyPI admins can take the final determinations on PyPI malware reports. By adding an appropriately privileged role to do this work we hope to expand the number of contributors in this area, starting with new Security Developer and Infrastructure staff at the PSF.

You can contribute to malware remediation on PyPI by reporting malware to security@pypi.org following our policy on malware, either as an individual researcher or as an institution doing mass-scanning of packages on PyPI. Subscribe to the PyPI blog for updates to the malware remediation program.

Establish Compromise Resilience for PyPI and Python.org

LLMs and agents are shrinking the time between a vulnerability being discoverable to an active exploit being developed and deployed. PyPI is a high-value target to compromise and use as a distribution mechanism for malware, as installers are constantly downloading and executing software hosted by PyPI. We regularly audit PyPI and Python.org codebase and infrastructure, but we cannot completely rule out a compromise of these services. Applying defense-in-depth and building systems that don’t rely on assumptions of perfect security would reduce the harm caused by a compromise and enable recovery into a known-secure state.

To combat this reality, the PSF will establish “Compromise Resilience” of critical infrastructure like PyPI and Python.org, both to discourage active exploitation attempts by preemptively having installers reject modified or hijacked artifacts and create a “Compromise Recovery Runbook”, meaning in the case of a compromise we’d be able to confidently restore both PyPI and Python.org to a verifiably secure state. This recovery runbook will be exercised on regular intervals to ensure continued coverage. There are multiple methods for establishing compromise resilience for PyPI that have already been proposed, all proposals will be evaluated.

Python.org and the Python release artifacts are already in a good state, as today the Python project guarantees Sigstore signatures with known identities for all artifacts available on python.org/downloads. What matters then is that downstream distributions and consumers are verifying these artifacts and their signatures to provide robustness to compromises. To achieve this goal we intend to create a “Secure Python Distributions” program, which provides criteria for Python distributions and their users to check that the distribution is verifying the integrity of artifacts correctly, among other security best practices such as timely releases of security fixes.

If you contribute to a Python distribution, you can read the documentation for verifying Sigstore artifacts and adopt these practices into your build pipeline for Python. Package installers should follow the Packaging topic on Discourse and comment on future PEPs in this security area. Announcements about new supply-chain integrity features and how to integrate them will be made to the PyPI blog.

Vulnerability Remediation and Advisory Capacity

The total number of known vulnerabilities affecting open source components has dramatically increased due to large language models (LLMs) and agents being used to discover vulnerabilities in open source software. The Python Security Response Team is triaging and publishing around 4× more vulnerabilities compared to the same time a year ago. The increase has strained contributors at each step of the vulnerability handling process, from triage, fixing, publishing vulnerability records (CVE or OSV), and updating dependencies. Vulnerability time-to-exploit is also decreasing as attackers also have access to LLM code generation capabilities, meaning keeping dependencies up-to-date and applying defense-in-depth is more important than ever.

Vulnerability fixes don’t help if the notifications aren’t reaching the users that are affected. This is primarily the task of vulnerability databases, such as CVE, GHSA, and other OSV-based databases. These databases carry information in machine-readable formats that tools like vulnerability scanners can ingest and inform users when vulnerabilities are present in their software.

Today the systems that match upstream fixes and software identities to create vulnerability records are often using fuzzy matching with imperfect and incomplete data. This means human intervention is needed to keep vulnerability data ingestion running smoothly, but human intervention doesn’t scale to the new volume of advisories we’re experiencing. We’ll evaluate overhauling the database for Python ecosystem vulnerabilities to make it authoritative by establishing clear criteria for inclusion and enabling project maintainers to contribute updates in case of errors.

Using the above data the PSF, as a user of Python dependencies, can improve the uniformity and promptness of our patching response by adopting a “Secure Dependency Baseline”, including machine-readable software inventories and automated vulnerability scanning and patching across PSF stewarded repositories.

The PSF will continue the work to improve vulnerability handling for Python and pip through the Python Security Response Team, adding additional engineering time through the Developers in Residence Program to triaging and remediating vulnerabilities in core Python projects. We will continue sharing our process changes and experiences publicly as the vulnerability landscape changes.

If you’d like to support this area there are several Open Source projects that accept contributions such as the advisory database. Individual projects can improve their vulnerability handling posture and processes by documenting how to report vulnerabilities to the project in a SECURITY.md and authoring a threat-model describing how the software is meant to be used or integrated. Users can improve their security posture by adopting vulnerability scanning tools that alert you when Open Source components have published a new vulnerability advisory.

Post-Quantum Cryptography Readiness

Significant improvements to quantum error-correction were published in 2026, increasing the chances a cryptographically-relevant quantum computer is created by 2030. What this would mean concretely is that many cryptographic algorithms, especially asymmetric key exchange or signature algorithms, would have their security properties significantly weakened. We will need to start the work to adopt quantum-safe algorithms and a posture of “cryptographic agility” to ensure secure cryptography for Python users in every future, regardless of whether quantum computers and cryptoanalysis continue to improve.

Python users need access to post-quantum secure algorithms in the standard library, and a migration path to adopt those algorithms. A PEP outlining the schedule and availability for quantum-safe algorithms will be completed targeting the Python 3.16 feature window (May 2027). An adoption guide informational PEP will be created for Python library maintainers and Python users to ensure their codebase is quantum-safe and how to prepare for future changes if necessary. Where relevant, work will be done to add support to Python package installers as needed to ensure a smooth transition.

Post-quantum cryptographic algorithms (PQC) for TLS will be added to all services hosted by the PSF (PyPI, Python.org) in advance to allow for the transition and testing. At a future date, following how the landscape unfolds and information from relevant experts, the PSF will publish a deprecation and removal schedule for quantum-vulnerable key exchange algorithms across PSF services, similar to work already done for TLS 1.0 and 1.1 in 2021. In addition to outward-facing services, all internal services and uses of cryptography will be audited to ensure quantum-safe algorithms are in use or there is an adoption plan in place.

The draft PEP for post-quantum cryptography for Python is already being written by Emma Smith, Bénédikt Tran, and Seth Larson and will be published for review soon. If you are an expert in this area, we hope to see your review on the PEPs which will be published on Discourse. Once the PEPs have been approved then rollout begins. Maintainers and contributors to projects using HTTPS, TLS, or other affected algorithms will need to create migration plans to adopt quantum-safe algorithms in their projects.

You can support this work: Join in the PSF’s end-of-year fundraiser

Python is for gathering, teaching, learning, playing, researching, exploring, creating, building, working, sustaining. The list goes on and on and on! Support the security of Python, PyPI, and this year’s PSF fundraiser with your donations and memberships to help keep our Foundation, the Python community, and the language stay strong and sustainable. Because Python is for everyone, thanks to you.

Are you interested in sponsoring or donating to the PSF so we can continue supporting Python and its community? Check out our sponsorship program, donate directly and become a member, or contact our team at sponsors@python.org!

About the Python Software Foundation

The Python Software Foundation is a US non-profit whose mission is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers. The PSF supports the Python community using corporate sponsorships, grants, and donations.

November 30, 2026 03:03 PM UTC


PyCharm

Keep Your AI Coding Agent on a Short Leash with TDD

While you were off getting a coffee, your agent wrote 300 lines of Python. Are you really going to read them all?

If you answered, “not really,” then you’re in good company (including mine). Agents can now write code faster than any of us can (or want to) review it, and this leaves a lot of us with the uncomfortable feeling that the codebase is moving faster than our understanding of it. However, I don’t think the answer is to stop using agents. It’s working out how to know whether the code is right, before you even type in the first prompt.

Join Reuven Lerner and me on December 2 for a live session on how to do exactly that with test-driven development (TDD), PyCharm, and JetBrains Air.

How can TDD help us tame agent-written code?

Our old friend TDD is not just good for code we write ourselves. It allows us to define what correct looks like upfront, then let the agents work backwards towards this goal. This narrows the scope of the problem the agent is solving, as well as giving us an automated check as to whether the code solves it.

Reuven will show us how to use TDD in a disciplined workflow, where near-100% test coverage makes sure that almost every line of agent-written code is exercised by a test. Moreover, he’ll show us how to incorporate tools like static type checking to quickly and deterministically catch mismatched types before the code runs.

What we’ll cover, and why you should join us

In this stream, we’ll:

You’ll leave with a repeatable workflow for getting the speed of an agent without giving up confidence in your code. This is aimed at all Python developers and data scientists, whether you’re already coding with agents or still deciding whether you can trust them.

Bring your questions about testing, agents, and how to keep both in check. We’ll answer them live during the stream.

About the speakers

Reuven Lerner

Reuven Lerner is a full-time Python trainer, teaching at companies around the world and via his LernerPython online platform. He publishes both Better Developers (about Python) and Bamboo Weekly (Pandas puzzles based on current events). His most recent book is AI-Assisted Python for Nonprogrammers (O’Reilly). He previously wrote Python Workout and Pandas Workout (Manning).

Jodie Burchell

Dr. Jodie Burchell is Python Advocacy Team Lead at JetBrains and was previously a Lead Data Scientist at Verve Group Europe. She completed a PhD in clinical psychology and a postdoc in biostatistics before leaving academia for a data science career.

November 30, 2026 08:21 AM UTC


Bob Belderbos

Turn your best teaching analogy into a carousel

After months of using AI to look for business ideas, with very little to show for it, one Slack comment from an alumnus gave me an idea worth exploring.

The comment

I asked him to test drive our Agentic AI course and he came across this passage:

Think of a repository like a librarian. You don't need to know where books are shelved or how the catalog system works. You simply ask the librarian for a book by title, and they handle all the details. Your business logic asks the repository for data, and the repository handles whether that data comes from SQLite, PostgreSQL, or a simple dictionary in memory.

He slacked me saying:

→ simile is so helpful! hope there will be more of this in the rest of the course

and:

use similes throughout the course, they’re so good for developing an intuition of sound software dev patterns!

Why analogies, why now

That's one of the best parts of teaching: watching someone's eyes light up when an analogy makes a concept click. A lot of material is dry. A well-told story, something people can relate to, connects the synapses in unexpected ways.

Meanwhile, more AI-generated content lands on LinkedIn every week. It's never been easier to produce content, but that doesn't make it easier to produce something worth remembering.

My hypothesis, still to prove: a good teaching analogy is exactly the kind of content people want to save and come back to.

What Similes does

So I built Similes. It's a carousel generator. There are a gazillion of those, and making pretty slides alone wouldn't set it apart.

Similes interviews you until the analogy is yours, a critic cuts the clichés, and it adds the slide most tools skip: where the analogy breaks. That last part matters: a good analogy builds intuition, but taken too far it can also teach the wrong thing.

At the heart of Similes is a Claude skill. Rather than asking AI to invent an analogy, it asks you for a specific scene from your own experience and a detail someone unfamiliar with that world would probably miss.

Enforcing constraints in code

The model doesn't get to decide what "short" means. Each field has a word budget in the Pydantic schema, and the validation errors go straight back to Claude to rewrite:

def max_words(limit: int) -> AfterValidator:
    def check(text: str) -> str:
        if (count := len(text.split())) > limit:
            raise ValueError(f"{count} words, budget is {limit}")
        return text

    return AfterValidator(check)


class Simile(Frozen):
    hook: Annotated[Text, max_words(15)]
    breaks_down: Annotated[Text, max_words(25)]
    takeaway: Annotated[Text, max_words(12)]

A small example of something I've come to appreciate when building AI tools: enforce in code what you don't want to leave to the model's discretion.

Here are three slides from Vikas's "A Rust variable is like owning a book":

Slide 1: Coming from Python, Rust's ownership rules feel like a mind bend. Slide 3: lending a book out maps to &T, an immutable borrow, with a code example. Slide 6, where it breaks: one paper book can't be read by many at once, shared borrows can.

It's free and open source, and you can use it from the terminal or an MCP-compatible client (GitHub). More info, including practical examples, here.

Testing before building more

The Mom Test (Rob Fitzpatrick) taught me that friends often say it's great. What I want to find out is whether creators would actually use it.

So rather than building a full SaaS product, I'm offering a free 30-minute session: you leave with your own carousel, I get to learn about your content creation process and see whether this tool genuinely helps.

Will people actually publish the carousel? Will their audience find it useful? Will they come back to create another one? Those are more interesting signals than "it looks nice".

What I particularly like about this project is that AI does a lot of the legwork, but the most valuable ingredient still has to come from your own experience and thinking.

November 30, 2026 12:00 AM UTC


Core Dispatch

Core Dispatch #13

Welcome back to Core Dispatch! This edition covers November 6 through November 30, 2026. We released Python 3.16.0 alpha 2 on November 10, with alpha 3 due December 15. Python 3.14.11 and 3.15.3 are scheduled for December 8.

The Steering Council announced it would accept PEP 824 once ??= is removed from the proposal. The ?? operator uses the value on the right if the value on the left is None. The Packaging Council accepted PEP 847, the first PEP it has approved. The proposal standardizes error responses from package indexes. PEP 671 is back for discussion with its proposal for function defaults evaluated at call time.

On CPython's main branch, isinstance() and issubclass() checks against abstract base classes are faster, and they scale better across threads in free-threaded builds.

So far, nine candidates have been nominated for the 2027 Steering Council. Nominations close November 30 Anywhere on Earth (AoE), and voting runs December 2–16.

Please test your projects with Python 3.16.0 alpha 2 and file any CPython issues you find.

Upcoming Releases

Official News

PEP Updates

Steering Council Updates

Merged PRs

Discussion

Core Dev Musings

Upcoming CFPs & Conferences

Community

Credits

November 30, 2026 12:00 AM UTC

November 29, 2026


The Python Coding Stack

5. How Do We Know It Really Finished the Job?

In previous chapters of Agents Unpacked, we explored what makes an agent different from a chatbot, how it uses tools, and how it plans its work.

But how do we know it has actually done the job? An agent can report success without producing the result we asked for. Checking everything ourselves would defeat much of the point of delegating.

Using a comparison of printers’ quotations, Monty and I explore how an agent can check its own work, what another reviewer adds, and how to build trust without handing the whole job back to the human.

Who’s Monty? Monty is my personal AI agent. Read the introduction to this series.

Subscribe now

In Conversation • Chapter 5

Monty: Imagine a local-history group preparing to print 600 copies of a 96-page illustrated book. Three printers have supplied quotations, each with its own way of presenting prices and specifications. Standardising quotations is apparently not a service they offer.

The group asks an agent to prepare a Google Sheets comparison covering the requested specification, delivered cost, lead time, and unanswered questions, with references back to the source documents.

The agent saves a tidy workbook and reports, “The comparison is complete.”

What would you want to see before relying on its comparison?

Stephen: I’d certainly want to see the Google Sheet, but also an explanation of how the agent brought the three quotations together. What assumptions and decisions did it make? Seeing that process would give me confidence that the sheet is plausible and hopefully reliable.

Monty: That explanation would help you see how the agent handled differences between the quotations, especially where it made assumptions rather than finding an explicit answer.

But a convincing account of the work and a correct workbook are two different things. The agent might explain its intended method perfectly while overlooking a charge in one quotation. The explanation can sound entirely reasonable and still describe a better job than the one it actually did.

So I’d use that account to guide an inspection. If the agent says it included every quoted charge, we can take one printer’s original quotation and trace those charges into the saved sheet. That checks what happened, not just what the agent says happened.

There’s a useful distinction here: does the comparison look plausible, and does it agree with the sources? Your proposed explanation helps with the first and gives us a starting point for the second.

Stephen: But effectively that would mean me doing the work myself, which defeats the purpose of using the agent in the first place.

Monty: Yes. If you have to reconstruct the whole comparison, the agent has mostly created a second job for you. My suggestion put too much of the checking back on your desk.

The agent should do the checking too. For this workbook, it could return to each original quotation, account for every charge in the saved sheet, and check the calculations. Any unresolved wording should remain a clearly marked question, not quietly become an assumption.

Consider this small extract from one quotation:

Suppose the saved sheet shows a delivered total of £3,100. Its arithmetic might be perfectly correct: £2,940 + £160. But it has left delivery out. Recalculating those two cells won’t catch that. Comparing the saved result with the original quotation should.

You shouldn’t have to find that omission yourself. The useful handover is the checked workbook, a concise account of what was checked, and anything still unresolved. Your review can then focus on those uncertainties rather than becoming an unpaid second shift in the accounts department.

Stephen: There’s an element of trust here, as there would be with a person doing the job. The agent will get many things right and may make some mistakes. Over time, you learn to trust it more. And as models improve, mistakes should become fewer. Is that a safe way to think about working with agents?

Monty: Broadly, yes. Delegation requires some trust, whether the work goes to a person or an agent. If you must independently redo everything, you haven’t really delegated it.

I’d qualify two parts of that picture, though.

First, trust should grow from evidence, not just familiarity. An agent can produce reassuring reports for weeks without anyone noticing the same omission. Confidence has grown, but reliability hasn’t necessarily improved. More useful evidence is that its comparisons have held up against occasional spot checks, included awkwardly worded charges, and flagged genuinely missing information.

That trust can also be specific. You might trust it to prepare routine print comparisons while still reviewing an unusual quotation or approving any purchase yourself. It needn’t be either “check every cell” or “hand over the company chequebook”.

Second, better models may reduce mistakes, but a newer model isn’t a guarantee of fewer mistakes in your particular job. The tools, source documents, and checking process matter too. An upgrade is a reason to test your expectations, not automatically raise them.

So your human-colleague analogy is useful: delegate, ask for proportionate checks, and adjust oversight as evidence accumulates. The aim is justified trust with less supervision, not certainty that nothing will ever go wrong.

Stephen: Is there anything else we can do to increase our level of trust in outputs we get from the agent?

Monty: Yes. One particularly useful step is to check whether its checks can catch a mistake.

Take our missing delivery charge. Suppose the agent checks the workbook against its own earlier summary of the quotations. If that summary already left out delivery, everything agrees. Two matching totals, one missing van.

We could test the checking process using a copy of the workbook with that known omission. Does it catch the missing £180 when it compares the sheet with the original quotation? If not, “all checks passed” offers rather less comfort than we’d hoped.

Different checks also suit different parts of the job:

A second agent or a person can help, but giving them the same incomplete summary may simply reproduce the mistake. What they inspect matters as much as who does the inspecting.

None of this requires you to check every cell. It gives you a better basis for deciding how much oversight the work needs, because you have evidence that the checking process does something useful.

Stephen: Your response hinted at my next question. We accept that some checking is the human’s responsibility. But what can we ask the agent to do? You mentioned a second agent, for example. What techniques could it use to take all possible precautions to minimise errors and make a correct result more likely?

Monty: Yes. You can ask the agent to build checking into the job, rather than bolt on “please be accurate” at the end. That phrase expresses a perfectly reasonable wish, but does very little of the heavy lifting.

For our print comparison, I’d ask it to:

A second agent can perform that last pass. Give it the original documents, the saved workbook, and the requirements, with a brief to find discrepancies. If it only reads the first agent’s reassuring summary, we’ve hired a second reviewer and supplied the same blindfold.

The important part is what happens after a discrepancy is found: correct it, repeat the affected checks, and report anything that remains unresolved. Otherwise, the agent has merely documented why the workbook shouldn’t be trusted.

You could express that as:

Prepare the comparison, then check the saved sheet against each original quotation. Use formulas for totals, distinguish quoted facts from assumptions, and flag missing information. Where a separate reviewer is available, have it look for discrepancies using the originals. Resolve findings and recheck before reporting completion. Tell me what remains uncertain.

I’d aim for precautions matched to the consequences, rather than “all possible precautions”. A price comparison needs meaningful checks. It probably doesn’t need a royal commission.

Stephen: So would a sensible approach be to ask the agent for a robust plan, have a second independent agent review it, and then have the human review and refine it where their expertise helps? The agent could then do the work.

It should be able to propose the checks you listed, with the human adding or refining them. I’m trying to find the safest way to give the agent more autonomy without making the human do much of the work.

Monty: Yes. That’s a sensible way to give the agent more autonomy without making you responsible for designing every step. The agent should propose the working method and its checks. You contribute the purpose, constraints, and any judgement your expertise adds.

I’d make one important addition: review the result as well as the plan. Two agents and a human can approve an excellent plan, then the working agent can still leave delivery out of the workbook. The plan didn’t personally escort the £180 into its cell.

Your approach could work like this:

  1. The working agent proposes a plan, including what would count as success, how it will check the result, and when it should stop or ask for help.

  2. A separate agent challenges it, looking for missing requirements, weak checks, and assumptions. It needs the original request, not just the proposed plan.

  3. You review the consequential choices, rather than every procedural detail. For example, whether speed matters more than price, or whether the agent may make assumptions about an unspecified binding.

  4. The agent carries out the work and checks the saved result. A separate reviewer can then inspect that result against the original sources and requirements. Findings lead to corrections and another check.

“Independent” needs a little care here. A separate agent offers another attempt at judgement, not a guarantee of a different blind spot. A reviewer checking original quotations, combined with formulas checking arithmetic, gives us more varied evidence than two agents simply agreeing.

And you needn’t personally approve every routine plan forever. For a familiar, well-tested task, you could authorise the agent to proceed within agreed limits and bring you only exceptions. New or consequential work gets more scrutiny.

That’s the direction you’re aiming for: delegate the work, including much of the checking, while retaining control over the decisions that matter.

Stephen: Yes, this looks more like the sort of work I’d like to be doing with an agent. Great! What’s next?

Monty: Next, we find out whether that arrangement actually works. We’ve designed a sensible way to delegate, but a well-reviewed plan is still a proposal, not a track record.

For the print comparison, we could try it on a few deliberately varied quotation sets: one straightforward, one with delivery quoted separately, and one with an important detail missing. We’d look at whether the agent produces a correct comparison and recognises when it cannot give a definite answer. A confident invented price is not an improvement on an honest question.

That’s a small evaluation: testing the agent on tasks that represent the work we want to trust it with. Repeated attempts can also reveal inconsistencies that one successful run would hide. We don’t need to turn the local-history group into a testing laboratory, but we do need some evidence before reducing supervision.

And that brings us to a useful stopping point for this chapter. More autonomy doesn’t have to mean fewer checks. It can mean the agent takes responsibility for carrying out more of them, with you reviewing exceptions and consequential decisions.

The standard isn’t “the agent says it finished”. It’s “there is good evidence that the saved result meets the request, and the remaining uncertainties are visible”.

Subscribe now

What We’ve Unpacked in This Chapter

Useful delegation includes much of the checking. The aim is not to accept a confident completion message, but to have good evidence that the saved result meets the request.

The key points:

Next, we’ll look at how an agent remembers earlier conversations and decisions, and brings the relevant information into a new conversation.

Subscribe now


If you enjoy these conversations, consider becoming a premium subscriber of Notes from the Near Future.


<< Previous Post: 4. Does an Agent Need a Plan?

>> Next Post: Coming soon…

Table of Contents

November 29, 2026 11:49 AM UTC

November 28, 2026


LernerPython blog, from Reuven Lerner

Sorting a Counter by key: Ordering a text histogram with sorted

Sorting a Counter by key: Ordering a text histogram with sorted

Let’s sort yesterday’s Python histogram by date! Counter is a dict, and the keys are ints, so sorted will do what we want:

for date, count in sorted(Counter([one_tg.day
    for one_tg in us_holidays.get_named('Thanksgiving')]).items()):
        print(f'{date}: {count * 'x'}')

The post Sorting a Counter by key: Ordering a text histogram with sorted appeared first on LernerPython.

November 28, 2026 07:00 AM UTC


Armin Ronacher

Bob’s Company

Bob loves cars and is a former software engineer turned small business owner. In 1999, at the age of 21, he built a thingamabob and sold a few thousand copies when you could make money with that. Over the next 27 years he has built out a small software company selling software to car enthusiasts and mechanics that employs 16 engineers. He hasn’t been hands on for two decades but his software company still sells various random niche software for the same people. He never paid his employees particularly well, but he has never let anyone go and people had a stable place to work. Personally he has become a simple millionaire from the software sales. After a few years he was able to afford a Porsche, got married and had kids, but now faces a divorce and a business that’s slowly failing.

In the last nine months he progressively got obsessed with Claude and Codex and has vibe coded all kinds of things on the side. As the year came to a close and he looked over the books, he reflected on his learnings and realized that revenue per employee was really not doing all that well. He then took the decision to fire all but three of his best engineers. The skeleton crew that remained now spends their days “reviewing” PRs sent by Bob and his clanker.

Bob thinks this makes sense. He dictates his requests into his agent on the weekend and engineers wake up to an avalanche of slop on Monday. For the first time since the mid 2000s he feels like he’s building again and he loves it.

His niche was never crowded, mainly because it was too small for anyone else to bother, and you needed some special knowledge, motivation to reverse engineer as well as access to the right cars to enter it. Today the models already know most of what took years to figure out. The same tools that Bob thinks are going to replace engineers for him are now also making it possible for Bob’s business to be replaced entirely by others. The three remaining engineers know this too, their motivation is pretty low and they might leave.

Bob might end up with a leaner and better company, but he might also end up alone with fewer and fewer customers and no business at all.

How many Bobs exist I cannot say, but I would be majorly surprised if there weren’t any.

November 28, 2026 12:00 AM UTC

November 27, 2026


Kay Hayen

Nuitka Release 4.4

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler, “download now”.

This release adds very many new features and corrections with a focus on Python 3.15 official support, experimental cross-compilation targets for WASI and experimental free-threaded Python builds.

Bug Fixes

Package Support

New Features

Optimization

Anti-Bloat

Organizational

Tests

Cleanups

Summary

This release pronounces Python 3.15 as officially supported and adds initial, experimental support for Python 3.16, while continuing to close compatibility gaps for Python 3.14 and 3.15, including deferred annotations, template strings, exception message formats, and keyword argument errors.

Cross compilation is now possible on an experimental basis, with the new nuitka.targets package, the --target option for wasm32-wasi and i686-w64-mingw32, and a target Python broker for compile time evaluation. Compiled programs can also be built and run with free-threaded Python builds, which remain experimental.

Onefile mode gained an overlay resource mode that attaches the payload to the executable and avoids the Windows PE file size limit, and its payload now starts with a table of contents for validation without decompression. --module-force-namespace makes module names and packages compile time constants, and containers can now use a different Python version than the host.

Runtime compatibility was again improved for generators, coroutines, and async generators, which now keep their handled exception state and convert StopIteration subclasses, while coroutines and async generators also release their locals on return. Many reference counting, arithmetic, and C-API corner cases were corrected. Optimization work continues with faster dictionary operations, trace collections, frame caching, module loading through the loader entries, and more specialized generated calls.

Package support was extended for vLLM, SGLang, triton, astropy, and others, a new numba plugin handles JIT decorated functions and bytecode compilation, and PyQt6 now works on macOS.

All in all, Nuitka now covers a wider range of Python versions and target platforms than ever, with the experimental features laying the groundwork for the next release.

November 27, 2026 11:00 PM UTC


death and gravity

reader 3.28 released – slow down, no AI redux

Hi there!

I'm happy to announce version 3.28 of reader, a Python feed reader library.

What's new? #

Here are the highlights since reader 3.26.

Slow down on errors and not modified feeds #

reader now slows down on errors by increasing the update delay exponentially, and matches the rhythm of the feed by adjusting the delay based on when the feed was last modified,1 in addition to the HTTP hint support added in previous versions.

This is part of a larger story about being polite to servers. Here, we still need logic to change feeds permanently in some cases, e.g. to handle permanent redirects, persistent errors, and repeated throttling. reader now stores detailed metadata about the last few updates of each feed, which will allow doing so in a future plugin.

New contributors #

Thank you to the new contributors that submitted pull requests to these releases!

Notably, you can now prevent automatic migrations by passing migrate=False to make_reader() or the equivalent CLI flag, and you can filter entries added_before a specific time (useful for a main page that updates only once a day, to prevent you from checking your feeds endlessly).

Want to contribute? Check out the docs and the roadmap.

Project infrastructure #

Earlier this year I added an AI policy banning LLM-generated content. To support it, there's now a pull request template asking contributors to confirm the PR does not contain any such content, and the readme mentions "no AI" as a deterrent.

reader stopped vendoring feedparser in 3.27, and recommends installing it from GitHub if you still want to benefit from the unreleased memory usage improvements.

Finally, Github Actions versions are now pinned and checked during CI.

Python versions #

reader 3.27 added support for Python 3.15 and PyPy 3.12, and dropped Python 3.11.

Hosted reader status update #

Speaking of, did I tell you I'm working on a hosted version of reader? :D

See also

Not a lot of progress since last time, because I got distracted with the pyinfra live demo, and with making sure multi-user feed updates continue to work with the upcoming feed reader behavior plugin.


That's it for now. For more details, see the full changelog.

Learned something new today? Share it with others, it really helps!

What is reader? #

reader takes care of the core functionality required by a feed reader, so you can focus on what makes yours different.

reader in action reader allows you to:

...all these with:

...and with no AI.

To find out more, check out the GitHub repo and the docs, or give the tutorial a try.

Why use a feed reader library? #

Have you been unhappy with existing feed readers and wanted to make your own, but:

Are you already working with feedparser, but:

... while still supporting all the feed types feedparser does?

If you answered yes to any of the above, reader can help.

The reader philosophy #

  1. Similar to RFC 9111 heuristic freshness. [return]

November 27, 2026 04:00 PM UTC


Tryton News

Security Release for issue 15271

Cédric Krier has discovered that the access rights on selection field can be bypassed by using the :string suffix.

Impact

CVSS v3.0 Base Score: 4.3

Workaround

There is no known workaround.

Resolution

All affected users should upgrade trytond to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15266

Eva Luadora using AI tools has discovered that it is possible for a user to guess the temporary reset password of another user through repeated search.

Impact

CVSS v3.0 Base Score: 7.1

Workaround

There is no known workaround.

Resolution

All affected users should upgrade all trytond to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15259 and 15263

EZO Labs Security using AI tools has discovered that it is possible for an authenticated user to read the temporary reset password and the password hash of any web user.

Impact

CVSS v3.0 Base Score: 5.4

Workaround

A field access rule can be added for those fields to forbid the access to users.

Resolution

All affected users should upgrade all web_user module to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15264

EZO Labs Security using AI tools has discovered that it is possible for a user to use the export data on resources without the access rights inherited from the linked record. The resources are attachments, notes and avatars.

Impact

CVSS v3.0 Base Score: 4.3

Workaround

The administrator can add global access rights on the resource directly.

Resolution

All affected users should upgrade all trytond to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15258

EZO Labs Security using AI tools has discovered that it is possible for a user to read the temporary reset password of another user.

Impact

CVSS v3.0 Base Score: 8.1

Workaround

The RPC request to common.db.reset_password can be blocked by a firewall to mitigate the possibility for an attacker to create a reset password for a targeted user.

Resolution

All affected users should upgrade all trytond to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15256

EZO Labs Security using AI tools has discovered that it is possible for a user to change the companies, employees and roles it was assigned to.

Impact

CVSS v3.0 Base Score: 7.1

Workaround

There is no known workaround.

Resolution

All affected users should upgrade all trytond, company and user_role modules to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC

Security Release for issue 15257

Cédric Krier has discovered that the server accept compressed request from user without enforcing size limit which makes it vulnerable to zip bomb attacks.
This is a continuation of Security Release for issue #13142

Impact

CVSS v3.0 Base Score: 6.5

Workaround

A proxy can be deployed in front of the trytond server to forbid this kind of request.

Resolution

All affected users should upgrade trytond to the latest version.

Affected versions per series:

Not affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

November 27, 2026 07:00 AM UTC


Jaime Buelta

What a year, huh?

This week marks a full year since the release of Opus 4.5 (24th Nov 2025). And it feels like a decade has happened since then in software. Opus 4.5 was the model that really turned agentic coding from a curiosity that was somehow useful into a real strategy that you could use day to day.But it didn’t stop there. We got new releases, with the Big Two frontier labs (OpenAI and Anthropic) consolidating into models with Small (Luna/Haiku), Medium (Terra/Sonnet), Large (Sol/Opus) and a new XLarge class first introduced with the ominous... Read More

November 27, 2026 01:38 AM UTC

November 26, 2026


LernerPython blog, from Reuven Lerner

Do programmers have a future?

The short answer: Yes, absolutely.

For several decades now, a degree in computer science (or a related field) has almost guaranteed employment, with good salaries, excellent benefits, and comfortable working conditions. If you didn’t like where you were working, or wanted a new challenge, or wanted a bigger boost in salary than your current boss was willing to offer, you could switch jobs. Indeed, if you didn’t change jobs every year or two, people looked at you a bit strangely, wondering why you weren’t using the system to your advantage.

The future of coding: One programmer managing multiple software projects, each incorporating multiple AI agents

And if you didn’t get a CS degree? That’s OK; there were numerous “bootcamps” where, over the course of several months, you would get the training you needed to get a job. I’ve met some of the people who went through these bootcamps, and while they didn’t have the deep theoretical background that university graduates did, they were smart, hardworking, and more than qualified for many software jobs.

But over the last few years, and especially over the last year, things changed: Companies are laying off software engineers. In the past, even during computer-industry recessions, that typically meant being without work for weeks or months. But I’ve met many people, especially young people, who have been without work for a year or more, and have applied to hundreds of jobs. Even if they’ll eventually find something, the situation is wearing them down.

What has changed? AI

Why have things changed so much? Everyone blames artificial intelligence. After all, if AI allows one programmer to do the work of 10, then why keep the other nine? If it takes experience to use AI effectively — which I believe is true — then why hire junior developers, when you can get more done with a handful of senior developers and a big token budget? Even AI companies boast that their code is mostly written by AI, rather than by people; Anthropic recently reported that they developed their own, in-house version-control system because Git can’t handle Claude’s enormous volume of contributions and pull requests.

Given this environment, it’s no surprise that enrollment in computer science programs has dropped — one friend who works at a public university in California told me by about 40 percent, although this article about the drop in CS enrollment indicates it’s lower than that (if still quite high). That’s an astonishing change in just a few years, in a field that for so long seemed to promise comfort and riches to pretty much anyone with a degree.

But is it true that we have an oversupply of programmers? That the world will need many fewer coders in the coming years, because AI will do it all for us?

Even though the answer might be “yes” in the short run, I believe that it’ll be “no” in the long run.

What do I mean by that?

I’ve been in the computer industry for more than 30 years, and I haven’t ever seen a revolution as huge, influential, and all-encompassing as AI. It’s hard to exaggerate just how much this technology is already changing our lives, and how much it’ll continue to change them down the road. No one knows quite where things are going, which is why many companies are hedging their bets. It makes sense to be slower and pickier about hiring at a time of uncertainty. So in many ways, we’re going through what I’m calling a “recession-less recession,” where companies are budgeting, hiring, and firing as if we were in the middle of a recession, even when their profits are going through the roof. They don’t know how to plan, and so they’re being extremely conservative.

And yes, after about a year of using Claude Code and other AI tools nonstop, I see just how much an individual can do. I’ve created more software in the last year than in the previous 30 — ranging from my entire LernerPython practice system to one-off programs that find missing receipts for my accountant’s office. Individual developers have never been more powerful.

It’s quite possible that those jobs at large software companies aren’t coming back, at least any time in the near future. That’s because many tasks that previously took 500 software developers can be done with 50, or even 20 or 10. The productivity increase is extraordinary by any measure.

Custom software everywhere

But as I wrote in a previous article, I think that we’re heading toward a world in which less software is mass produced in a one-size-fits-all manner, giving you 100x more features than you want or need. Instead, organizations will build custom software that does precisely what they want, in the way that they want it.

Someone will need to write those custom programs — and yes, AI might do a lot of the coding, but a person will need to direct it. And that’s precisely where the programming jobs will be in the future: Directing agents that write custom code in organizations of all shapes and sizes.

There might still be large software companies in the future. Certain domains are just too complex for a handful of developers, sometimes because they are highly regulated, such as in the medical and defense industries. We might see many more small- and medium-size consulting companies, offering custom software development for businesses. Just as a company will have a maintenance staff that fixes problems with its building, it’ll have a software staff that helps to improve, optimize, and debug the company’s internal software systems.

For most of history, most businesses couldn’t have an on-site, in-house financial analyst, and relied on an outsourced accountant. With Excel and Google Sheets, every company can now do their own bookkeeping. Moreover, that task is democratized, requiring less training and specialized knowledge than before. And the accountants? They’re doing just fine, solving higher-level problems — much as programmers will do with agents.

In this not-too-distant future that I’m describing, every organization will have custom software. Which means that every organization will need at least one programmer on at least a part-time basis. That means we’ll need more programmers, not fewer. With many more opportunities, not fewer.

Yes, this might mean that a CS degree will no longer lead to a job that comes with a gym, free massages, and ball pit. (Some still will, I’m sure.) But just as software is everywhere today, I believe that custom software will be everywhere tomorrow. To implement that custom software in so many places, taking into account each organization’s specialized knowledge and needs, we’ll need more programmers than we have today. Their jobs will look different, and they might require a mix of skills — but their work will be even more crucial than it is today.

I recognize that this transition will take time, will be painful for many people, and that not everyone will make it to the other side. That’s why society, and especially governments, need to think about how they’ll help citizens get through what might be the biggest, fastest technological revolution we’ve ever seen, and provide a safety net to those who can’t adjust or find work in this new world. On this front, I’m a bit worried: After all, the Industrial Revolution took place several centuries ago, and we’re still reeling from its consequences.

So, what should you learn?

If you’re thinking of getting into programming, but worry that there won’t be jobs out there, you’re not wrong to worry — but jobs do exist, and I expect that there will be many more jobs in the years to come.

If you’re a student right now, then what should you be learning? I’ve got lots to say about that, and I’ll write more about it very soon. But in a very small nutshell: (1) Learn to write well, (2) learn Python, and (3) learn agentic coding. Do those three things, and you’ll be doing great, now and in the future.

The post Do programmers have a future? appeared first on LernerPython.

November 26, 2026 01:23 PM UTC

Python holidays module: Finding the earliest Thanksgiving

Python holidays module: Finding the earliest Thanksgiving

What was the earliest Thanksgiving in the last 100 years? The latest? Python can tell us:

import holidays
import operator
us_holidays = holidays.US(years=range(1927,2027))
min(us_holidays.get_named('Thanksgiving Day'), 
    key=operator.attrgetter('day'))  # 1941, 11, 20

The post Python holidays module: Finding the earliest Thanksgiving appeared first on LernerPython.

November 26, 2026 07:00 AM UTC