RSS.Social

Adam Johnson

follow: @[email protected]

Posts

Git: list files at a given commit with ls-tree

Zsh: select files with arbitrary code in (e) or + glob qualifiers

Git: exclude commits by an author in git log with --perl-regexp

Zsh: list recently modified files with (m0) glob qualifiers

Python: how time-machine is O(1) where freezegun is O(n)

Python: time-machine 3.3.0 lets your tests time-travel even faster

Python: fix ValueError: day of month directive '%d' may not be used without a year directive

Python: fix TypeError: NotImplemented should not be used in a boolean context

Python: inspect interleaved unittest.mock calls with attached mocks

Python: spy on function calls with unittest.mock’s wraps

Django: release code words up to 6.1

Django: introducing django-crawl

Django: introducing django-orjson

Python: find all instances of a class with gc.get_objects()

Python: store extra data for objects in a WeakKeyDictionary

Django: introducing django-integrity-policy

Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection

Python: introducing profiling-explorer

Python: introducing icu4py, bindings to the Unicode ICU library

Django: profile memory usage with Memray

Zsh: select generated files with (om[1]) glob qualifiers

Python: introducing tprof, a targeting profiler

Django Quiz 2025

Django: implement HTTP basic authentication

Django: what’s new in 6.0

Django: implement HTTP bearer authentication

GitHub: top commands in gh, the official GitHub CLI

Django-related Deals for Black Friday 2025

“Boost Your GitHub DX” out now

Django: Introducing django-http-compression

Django: Introducing django-watchfiles, for more efficient runserver autoreloading

Git: partially cherry-pick a commit

Git: check if a commit exists on a given branch

Python: fix SyntaxWarning: 'return' in a 'finally' block

Python: capture stdout and stderr in unittest

Git: count files in a repository

Django: write a custom URL path converter to match given strings

Python: check a package version with importlib.metadata.version()

Django: split ModelAdmin.get_queryset() by view

Django: iterate through all registered URL patterns