Simon Willison’s Weblog

Subscribe

Monday, 18th October 2021

Tests aren’t enough: Case study after adding type hints to urllib3. Very thorough write-up by Seth Michael Larson describing what it took for the urllib3 Python library to fully embrace mypy and optional typing and what they learned along the way.

# 7:03 pm / python, statictyping, mypy

Where does all the effort go? Looking at Python core developer activity (via) Łukasz Langa used Datasette to explore 28,780 pull requests made to the CPython GitHub repository, using some custom Python scripts (and sqlite-utils) to load in the data.

# 8:21 pm / python, datasette, sqlite-utils, lukasz-langa

2021 » October

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031