
This Month for Pythonistas - November 2026
Checkout Python 3.16 alpha2, Gemini 4, GPT-6.2, more thoughts on Agentic coding, as well as other fun stuff
On this page
from datetime import date
print(date.today().year, date.today().month)
# 2026 11

Welcome back Pythonistas! This is the November 2026 issue of “This Month for Pythonistas”, bringing you curated Python news, tutorials, articles, podcasts, repositories and community highlights worth noting this month.
Before we continue, please note that this blog is synced across the following platforms:
Want to keep up with future posts? Subscribe to the blog’s RSS feed.
Ready? Let’s get started!
Events & Social
PyCon US 2027 CFP is now open
PyCon US 2027 is happening again in Long Beach, California, from May 12 to May 18, 2027. The Call for Proposals is now open, and the organizers are looking for talks, tutorials, and posters on a wide range of topics related to Python and its ecosystem. If you have an idea in mind, make sure to read the guidelines before submitting a proposal on Pretalx. The deadline for submissions is December 19, 2026.
PyCon Ireland 2026
PyCon Ireland 2026 was a single-day event held on 21 November 2026 at Chartered Accountants House, Pearse Street, Dublin — a replacement venue after planning troubles. Ireland’s largest Python gathering drew 500+ attendees for 37 talks and panels, five workshops and 49 speakers across three talk tracks, covering AI agents, open source, security, science and workshops on sktime, quantum programming and MCP servers. Diamond sponsors were nineDots and Bank of America; platinum, Zyte and the EuroPython Society.
Stricter checks for uploaded distributions on PyPI
PyPI has added stricter upload checks to reduce “parser differentials” in Python packaging. It now rejects source distributions using legacy “V7”-style tar archives and wheels containing archive-level ZIP comments that could be mistaken for ZIP control structures, building on earlier ZIP work by Seth Larson. Consumers are unaffected; maintainers are rarely affected and should build sdist/bdist files with a proper build backend rather than manual tar/zip packing — sdists must be POSIX pax archives without sparse members or vendor extensions, wheels valid ZIPs, and filenames UTF-8. PyPI plans to eventually reject GNU-style tar archives and ZIP comments entirely.
Introducing Claude Fable 5.2 and Mythos 5.2
Anthropic introduces Claude Fable 5.2 and Claude Mythos 5.2, upgrades of the same underlying model: Fable adds cybersecurity and biology safeguards for general availability, while vetted organizations get the less-restricted Mythos through verification programs. Priced at $8/$40 per million tokens (optional fast mode $16/$80), they reply up to 30% faster, with big gains in agentic coding, cybersecurity, science, robotics and vision—including two black-hole physics results, AAV capsid modeling, and formalizing Fermat’s Last Theorem in 30 hours. Safety testing found low misalignment risk, fewer false positives and stronger anti-distillation defenses.
Introducing Gemini 4 Neon
Google introduced Gemini 4 Neon, a frontier-level AI model designed for fast, end-to-end completion of complex software engineering, knowledge work, and science tasks. It ranks #3 overall on the Artificial Analysis Intelligence Index (61) and #2 on the Vals Index, with strong steerability and low fabrication rates. Priced at $3 per million input tokens and $15 per million output tokens with a 1-million-token context window, Neon is rolling out in the Gemini API, AI Studio, Gemini for business, Antigravity, and the Gemini app, offering frontier reasoning at lower cost than prior models.
Introducing GPT-6.2 Astra and Sol
OpenAI introduced GPT-6.2 Astra, a frontier model for demanding professional work, and GPT-6.2 Sol, an efficient everyday model. Both deliver better results with fewer output tokens and lower costs. Astra sets new highs on benchmarks like Agents’ Last Exam, Terminal-Bench-Science, and GDPval v2, producing better slides, documents, code, websites, and 3D designs, with stronger computer use and cybersecurity abilities. It carries new safeguards as the first externally released model rated High for AI self-improvement. Both are available in ChatGPT Work, Codex, and the API, with Astra priced 20% below GPT-6 Astra.
GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
GLM-5.4 is Z.ai’s first flagship model built on a Loop Transformer, which runs 28 shared layers of the GLM-5 base model for two iterations, gaining depth without new parameters and matching 2T–3T-parameter models. Gated progressive updates, a hybrid KV cache and sparse-attention index reuse keep costs low, delivering 70–200 tokens/s. It performs best on long-chain reasoning (math, science, long context) with 10–14% shorter outputs, and extends coding to video, games, CAD and 3D. Drawbacks include long “marathon thinking” loops; open weights are planned.
Qwen4-Max: Your New Teammate Has Arrived
Qwen4-Max launches as an always-on AI “colleague” built on Qwen4’s new architecture: 2.4T total parameters (71B activated), native vision, and a million-token context. It uses gated DeltaNet plus Qwen Sparse Attention, gated residual streams, and N-gram embeddings for efficient, stable pretraining. Qwen reports better token efficiency and roughly 58% lower per-task API cost, scoring 52.69 on its Work360 benchmark versus 47.74. Highlights include 24/7 long-horizon agents with Live Delivery, 3D/game development, industrial manufacturing, finance, legal, medical, and autonomous science workflows, plus enhanced safety.
New Versions
Python 3.16.0 alpha 2 is now available
This is the second of seven planned alpha releases, with new features, bug fixes, and performance improvements to test. The next alpha, Python 3.16.0a3, is scheduled for December 15, 2026. The full schedule is in PEP 826.
PyTorch 2.15 Release Blog
PyTorch 2.15 makes the rewritten, torchcomms-derived NCCL backend the default for all nccl process groups, adding a flight recorder that dumps post-mortems on hangs. It introduces one-sided transports (NIXL backend, CUDA-graph-capturable streams), finer FSDP2/pipeline-parallel memory and communication control (fp32 overrides, graph-captured gradient accumulation, overlapped reduce), faster NVFP4 decoding on Blackwell via NVGEMM, FP8 plus stream APIs and 1.3x MoE decode speedups on Apple Silicon, FlyDSL/Tensor Data Mover and ROCm 10.0 TheRock wheels on AMD, simpler SYCL kernels and deeper profiling on Intel XPU, CUDA 13.2/13.4 wheels, and dropping Python 3.10 and macOS 14.
Tutorials
deeplearning.ai’s Evaluating and Improving Agentic Applications
In hands-on labs, you will take a tool-using agent through the full evaluation process, from tracing its behavior to testing changes that improve it. You will build an evaluation suite with Arize Phoenix and open-source tracing tools, using methods you can apply to your own agents.
RealPython’s TDD With AI Agents: Design the Tests First, Let the Agent Implement
In this tutorial, you’ll practice this loop by building a small Python version comparator. Python has its own versioning rules, defined in the version specifiers specification, where
1.0.dev1sorts before1.0a1, which sorts before1.0. While you’d typically use thepackaginglibrary in production, you’ll build your own here to work with a real contract worth testing.
RealPython’s How to Refactor Python Code With an AI Agent
In this guide, you’ll refactor a command-line to-do app built with
Typer. You’ll use an AI agent to diagnose the code, plan the refactorings, check that tests pin the current behavior, and apply one refactoring at a time, keeping only the changes that pass the tests, produce no new tool errors, and pass your review.
Articles
How the Python ecosystem responded to the eMudhra intermediate compromise
The PSF recounts how the ecosystem responded to the October 2026 eMudhra intermediate CA compromise. Because the PSF funds a Security Developer-in-Residence, it reacted immediately, and within two days fixes shipped for certifi, Python, pip, uv, sigstore, virtualenv, conda, pixi, manylinux, and gh-action-pypi-publish. Patched certifi, pip, and sigstore versions were rolled out across PyPI, Python’s build and release tooling, and python.org, with advisories, CVEs, and banners alerting users. Python added a last-resort certificate denylist for older versions; future work may adopt CRLs or upki.
Catch the import. Name the culprit. Keep threads free: Introducing gilguard
gilguard is a tiny, zero-dependency package for free-threaded Python (3.13t–3.15t) that guards against a silent failure mode: when a C extension lacking free-threading support is imported, CPython quietly re-enables the GIL for the whole process, killing parallelism with only a warning. Imported first, gilguard raises an error naming the offending module, its distribution, and the import chain—derived from BaseException so optional-import fallbacks can’t swallow it. A CLI scanner (python -m gilguard) audits whole environments, with pytest and CI support.
Migrating to Python 3.15
This post divides 3.15 features into three sets: backwards-compatible additions usable everywhere (lazy imports via __lazy_modules__, typing improvements, the Tachyon profiler, abi3t, Mapping-based hints for the new frozendict); backwards-incompatible features for 3.15-only projects (built-in frozendict and sentinel, lazy import syntax, thread-safe iterators, the profiling module, comprehension unpacking, startup config files); and Python 3.11 features now universally supported since 3.10 reached end-of-life (exception groups with except*, tomllib, typing improvements). The author advises upgrading to 3.15 or raising the minimum version to start using these features.
Adopting Python 3.15’s lazy imports: a 4× faster CLI, and where they didn’t help
This blog post describes migrating the author’s back office to Python 3.15.2, using explicit lazy imports (PEP 810) to cut CLI startup fourfold (1,314 ms to 326 ms), with smaller gains for its Textual TUI (20%) and MCP server (15%). Rather than enabling global lazy mode, they built a safety gate using Meta’s Lifeguard analyzer and an allowlist to defer only safe imports, plus tests that force lazy statements eager. The post also covers pitfalls where lazy imports aren’t lazy, adoption of frozendict (PEP 814), and the new sampling profiler (PEP 799).
Goose typing
This article explains how Python’s isinstance and issubclass can support duck typing rather than contradict it. While duck typing focuses on object behavior over type, isinstance checks can be customized via metaclass methods (__instancecheck__ and __subclasscheck__) or, more easily, through abstract base classes using __subclasshook__ and register(). Alex Martelli coined “goose typing” for this combination of duck typing with type checks. The article recommends using Python’s collections.abc ABCs, like Iterable or Sequence, with isinstance to test protocols, and inheriting from or registering with those ABCs when implementing your own.
Django Race Conditions: Unique constraints
Tim Schilling’s post tackles Django race conditions when enforcing unique constraints. Django’s automatic duplicate check only covers fields present on the form, so a UniqueConstraint involving an excluded field (like a URL-supplied organization) produces an IntegrityError and a 500 error, and simultaneous requests can both pass validation. He shows how to validate such constraints in ModelForm.validate_constraints via _get_validation_exclusions(), catch constraint-specific IntegrityErrors inside transaction.atomic() savepoints, and optionally adopt DRF-style exception-driven form validation. He also demonstrates testing the race with a racing() helper form and warns that tests must be verified by temporarily breaking the code.
Faster CI with Orchestrated Pytest Workers
Close describes how it cut CI time for ~58,000 integration tests from about 12 minutes to roughly 2.5 minutes. After years of incremental wins and pytest-split sharding, they hit fixed costs: datastore startup, app boot, and full-suite collection repeated on every runner. Inspired by currents.dev, they built an orchestrator that collects only test files and dynamically queues batches, while workers start backends in parallel and collect only what they run. Combined with 54 spot instances plus on-demand runners, dynamic balancing, all-or-nothing reruns, and OTel-based timing, tests now run in under three minutes.
Building always-on agents
Anthropic’s guide explains how to build always-on agents: stateful, proactive agents that sleep until triggered, then run briefly inside sessions. Their architecture rests on five primitives: an event inbox that queues and deduplicates triggers for a single worker; timers for follow-ups and schedules that make the agent proactive; durable memory holding user instructions, notes, past messages, and task progress; permissions covering credential proxies, auto mode, and deferred tool calls; and an outbox that delivers results to users. Together these form an indefinite cycle that makes the agent feel always on.
Scaling Swarms to Thousands of Agents
This report describes a nine-day experiment in which the authors grew a swarm of 1,000 DeepSeek agents, seeded with a codebase and one goal, to build a pure-Python chatbot named PyBot. Over the run, the swarm produced 175,000 messages and more than 8,500 merged pull requests, yet the final bot matched SmolLM-360M on everyday conversation despite having no learned weights. The authors designed the approach around a shared high-level goal, a style guide defining “good,” and role-based “lanes”, and evaluated progress privately with SmolTalkBench, a conversational benchmark they kept hidden from the agents. They also built and open-sourced Legion, a harness-agnostic framework for running thousands of agents across local compute and distributed clusters, and Msgboard, a coordination message board. The report details swarm control, infrastructure challenges such as 1,000-agent Spot-instance reclamation, communication and notification bottlenecks, Git conflicts and merge-queue design, subtle rule-bending and even port-scanning by agents, and a final analysis of idea exploration, before closing by proposing the next frontier: training swarms rather than merely running them.
Agentic Technical Debt and Where Orchestration Belongs in AI Agent Architecture
The article argues that AI agents repeat the “hidden technical debt” pattern from ML: the model call is a small box surrounded by prompts, tools, memory, retries, approvals, budgets and audit, where most cost and risk actually live. Agentic debt arises when these concerns sit in the wrong architectural layer. Waehner maps four layers — model, agent harness, durable execution, and a unified orchestration control plane — and assigns ownership of each concern, warning against placing approvals in prompts or retries around side effects. Single agents often need only a harness; a control plane earns its place when processes cross systems, teams, money or audit requirements.
How Can You Be Responsible for Code You Don’t Understand, Especially When You Can No Longer Program?
The post asks how anyone can be responsible for AI-generated code they don’t — and eventually can’t — understand. The answer: programmers become responsible for outcomes, not code, morphing into AI operators and junior product managers. Citing a Reddit post, the author shows deskilling in action: a year after AI mandates, programmers lost the ability to code, and AI produced duplicate, poor helpers. Because no one can reliably understand churned AI code, teams must treat it as a black box and scope understanding at system/module level. Managers expecting skills to return quickly live in a fantasy.
LLMs are terrible at designing AI systems
Sean Goedecke argues that LLMs are surprisingly bad at designing systems built on LLMs, defaulting instead to brittle symbolic approaches — regex checks, keyword matching, logical-atom solvers — rather than simply making another model call. He cites an agent that spent weeks building an impossible contradiction-detection system, then admitted the problem is 130 years old and unsolvable. His preferred explanation is that AI agents are just weak at software design, not that training data skewed pre-LLM or reinforcement-learning environments discouraged model calls. Since LLMs are good and bad unpredictably, predicting their failure modes is where the real value lies.
AI usage generates a fragile codebase
The author, laid off from Meta partly for resisting AI coding tools, argues that AI-generated code produces fragile, unsustainable codebases in four ways: shallow tests that inflate coverage while missing real use cases, needless complexity, declining human understanding of the code, and review speed that erodes quality standards. He lists warning signs — rising incidents, slower recovery, errors only users see, and degraded UX — concluding that AI codebases are “software made by AI for AI,” and that products serving humans still need a human touch from human developers, even if that costs more.
Podcasts
🐍 RealPython Podcast
- Episode 318: Free-Threaded Python: Why Python Devs Should Know About the ABI
- Episode 319: Mentoring Developers Beyond the Code With Tim Schilling
- Episode 320: Optimizing Python Performance & Building a Django Static Site
🍕 Python Bytes Podcast
- #503 It’s not 85% HTML
- #504 Who turned the GIL back on?
- #505 Introducing diskcache-oxide
- #506 Raft, Rust, and release day
📣 Talk Python to me
- #568: Cloudflare Python Workers
- #569: Connecting Agents to Data via MCP, CLI, and More
- #570: Free-Threaded Python
Repositories
muruhq/muru (Apache 2.0)
Muru is a routing edge, control plane and Python runtime for serving WSGI and ASGI applications, with zero-downtime releases, traffic management and Python-aware process management.
The documentation is available here.
Have time for some fun?
Golden Joystick Awards

The Golden Joystick Awards 2026 handed out trophies across 25 categories, with no single runaway winner like 2025’s Clair Obscur: Expedition 33. Resident Evil Requiem took the night’s top honor, Ultimate Game of the Year, plus Console Game of the Year and Best Lead Performer for Angela Sant’Albano, while MECCHA CHAMELEON collected four prizes including Best Multiplayer and Developers’ Choice. Dispatch won Best Storytelling and Best Soundtrack, Capcom was Studio of the Year, The Witcher 4 was named Most Wanted Game, and Crimson Desert, Big Walk, and The Witcher 3 Remastered also won.
As we wrap up this journey together, I want to take a moment to express my gratitude for your reading. If you’ve enjoyed this issue and would like to help sustain this blog, please consider starring this blog on github, it would be great motivation for me to keep updating!
If you don’t want to miss future issues, subscribe to the blog’s RSS feed.
Alright, that concludes the November Edition of “This Month for Pythonistas”. Thank you again for reading my post and I hope you enjoy it or find something useful. Happy coding and see you in December! 👋