pairwise(), Mocks, Claude, and More
#711 – DECEMBER 2, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Generalising itertools.pairwise
This article teaches you about itertools.pairwise, a function for accessing pairs of components over an iterable. Learn where it is helpful and what its limitations are.
RODRIGO GIRÃO SERRÃO

Why Your Mock Breaks Later
An overly aggressive mock can work fine, but then break much later. If you don’t mock the right spot in your code you can break other testing libraries.
NED BATCHELDER

Turn Multi-Agent Mayhem into Harmony (with Python + Temporal)
AI is powerful but messier than a three-way Git merge on a Friday afternoon. Join us to see how Temporal helps Python devs orchestrate multi-agent systems with confidence. Learn how to make your agents play nicely and your code stay clean →
TEMPORALsponsor

Getting Started With Claude Code
Learn to set up and use Claude Code for Python projects: install, run commands, and integrate with Git.
REAL PYTHON course

PyCon Austria 2026: Free Conference, Registration Is Open
PYCON.AT • Shared by Horst JENS

PSF Code of Conduct Working Group Transparency Report
PYTHON SOFTWARE FOUNDATION

Microsoft Announces SQL Server Python Driver
MICROSOFT.COM • Shared by Howard Rothenburg


Python Jobs


Python Video Course Instructor
REAL PYTHON