Planet Python

PyCoder’s Weekly: Issue #711: pairwise(), Mocks, Claude, and More (Dec. 2, 2025)

This issue of PyCoder's Weekly highlights several Python topics. Rodrigo Girão Serrão explains the general use and limitations of `itertools.pairwise`. Ned Batchelder discusses why overly aggressive mocks can cause future testing issues. Temporal offers a sponsored solution for orchestrating multi-agent AI systems with Python. A Real Python course covers getting started with Claude Code for Python projects. PyCon Austria 2026 registration is now open. The Python Software Foundation released a transparency report from its Code of Conduct Working Group. Microsoft announced a SQL Server Python Driver. Articles cover PyPI security against threats like "Shai-Hulud," understanding POST content types with Django examples, and implementing HTTP Bearer Authentication in Django. Pydantic's expanding features, including its settings loader, are explored. The issue clarifies why Django's `DATETIME_FORMAT` might not behave as expected and how to force a 24-hour clock. It also details disabling network requests during `pytest` and proper Python code indentation, including using formatters like Black and Ruff. Guido van Rossum discusses the enduring appeal of Python and its future. Positron's AI is presented as a data science-focused coding assistant. Advent of Code is recommended as a skill-improvement tool, and a guide on converting bytes to strings in Python is provided. Several projects and code resources are listed, alongside upcoming Python events and meetups worldwide.
favicon
pycoders.com
pycoders.com
Image for the article: PyCoder’s Weekly: Issue #711: pairwise(), Mocks, Claude, and More (Dec. 2, 2025)