Issue #761

Goose Typing, Gemini 4 Carbon, HTTPX2, and More

Nov. 17, 2026

Goose Typing, Gemini 4 Carbon, HTTPX2, and More
#761 – NOVEMBER 17, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Goose Typing
In Python you can practice type checking while also practicing duck typing. This article shows you how to use the __instancecheck__() method to change the behaviour of isinstance().
TREY HUNNER

Gemini 4 Carbon: Google’s Model That Thinks Longer
Gemini 4 Carbon is Google’s new reasoning model. Learn what it is, what it costs, and how to call it from Python with the google-genai SDK.
REAL PYTHON

Positron: The Data Science IDE from Posit PBC
Tired of duct-taping your Python workflow together? Positron is a free, with interactive data frames, Jupyter notebooks, AI assistance, and one-click app deployment, all in one editor. Download it free. Explore Positron
POSITsponsor

Python HTTPX: Making HTTP Requests With HTTPX2
Learn how to use Python HTTPX (now HTTPX2) to make HTTP requests, send async calls, set safe timeouts, stream large downloads, and enable HTTP/2.
REAL PYTHON

Quiz: Python HTTPX: Making HTTP Requests With HTTPX2
REAL PYTHON

Python 3.16.0 Alpha 2 Is Now Available
PYTHON.ORG


Discussions


In Memoriam: Tim Peters 1952–2026
PYTHON.ORG


Articles & Tutorials


Mentoring Developers Beyond the Code With Tim Schilling
What’s it take to be a mentor to developers? Where in an engineer’s career can a mentor make an impact? This week we speak with Tim Schilling, Django Steering Council member and Djangonaut Space administrator, about mentoring Python developers.
REAL PYTHON podcast

Keep Threads Free: Introducing gilguard
On free-threaded Python, one import can quietly turn the GIL back on for good. gilguard turns that moment into an error that names the module, the package, and the line of your code that pulled it in.
MICHAEL KENNEDY

Adopting Python 3.15’s Lazy Imports
This post describes one company’s experience with Python 3.15’s lazy import mechanism. It resulted in a 4x speed-up for one of their CLIs, but also describes the places where it didn’t help.
NAMEGARAGE

PyPI’s Redesigned Project Pages Are Now Live
In July, PyPI announced a series of updates to the PyPI UI. The work is now complete and includes a new “Security” tab which gives details on where files are sourced from.
NICOLE HARRIS

TDD With AI Agents
Learn how to use test-driven development (TDD) with AI agents in Python. Design the tests first, then let a coding agent write code that passes them.
REAL PYTHON

Get Started With Meta Muse in Python: Spark and Glimmer
Get started with Meta Muse in Python. Make your first Muse Spark call, then add streaming, images, and tool calls, and try the open-weights Glimmer.
REAL PYTHON

Memory Management in Python
Take a deep dive into Python memory management and learn how CPython allocates and frees memory for your objects with arenas, pools, and blocks.
REAL PYTHON

Making Django Admin Easier to Use Every Day
This post describes a few improvements to the Django Admin: a command palette, a search shortcut, and tabs for long forms.
RUST SAIARGALIEV

Migrating to Python 3.15
This practical guide tells you what to pay attention to when migrating to Python 3.15.
RODRIGO GIRÃO SERRÃO

Could a Modern Chess Engine on a Pentium Have Defeated Kasparov in 1996?
Sometimes the right algorithm matters more than the beefiest hardware. This post shows how better approaches to chess in software mean that old hardware could have beat the supercomputers used to challenge grand masters at the time.
NICHOLAS CARLINI


Projects & Code


Brought to you by Real Pythonsponsor
Online Python Training Created by Experts →

Wheelgap: Which Dependencies Will Compile From Source?
GITHUB.COM/PATRICKBALLARD • Shared by Patrick Ballard

Waymark: Resumable Python Workflows Backed by Postgres
GITHUB.COM/PIERCEFREEMAN • Shared by Pierce Freeman

sqlty: Type-Check Raw SQL in Python Without Database
KUNCAR.DEV • Shared by Jiri Kuncar

izaya: HTMX-Powered Autocomplete Widget for Django Forms
GITHUB.COM/METRON-PROJECT

django-cmdbar: A Navigation Palette for Django Admin
GITHUB.COM/AMUREKI

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 18, 2026

Wagtail Space 2026
November 18 to November 21, 2026

PyData Bristol Meetup
November 19, 2026

PyLadies Dublin
November 19, 2026

PyCon Wroclaw 2026
November 20 to November 21, 2026

PyCon Ireland 2026
November 21 to November 22, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.