Some notes on my experiences with Python type hints and Mypy

As I thought I might, today I spent some
time adding full and relatively honest type hints to my recent
Python program. The
experience didn’t go entirely smoothly and it left me with a number
of learning experiences and things I want to note down in case… Read more

Similar

Niv and Mach-Nix for Nix Python

Short post on using mach-nix with niv. Background In previous posts, there was a discussion on a ground up approach to adding packages which aren’t on the core nixpkgs channels using GitHub or PyPi sources. However, this lacked a way to do so programmati... (more…)

Read more »

Sentinel Values in the Python Stdlib

Hi, Following some discussion on the python-dev mailing list, I’d like to poll your preferences on how we define sentinel values for optional function arguments. This is a minor detail, so ISTM most important that we reach a reasonable decision quickly,... (more…)

Read more »