Ned Batchelder

Beginner sprint on coverage.py

21 March

I participated in the PyCascades sprint day yesterday, offering up coverage.py as a project. I was pretty sure it wasn’t beginner-friendly, but the sprint was useful because it pointed out specific ways that it was not, and we fixed some of them. » more..

Watchgha

13 March

Watch GitHub actions until they finish » more..

Late initialization, reconsidered

14 February

A few days ago I posted Late initialization with mypy, and people gave me feedback, and I realized they were right. The placebo solution described there is clever, but too clever. » more..

Late initialization with mypy

12 February

Let’s say you have a complex class with a number of attributes. The class is used in a few different ways, so sometimes the attributes are available, but sometimes they haven’t been initialized yet. » more..

More blog ·· #art · #audio · #beginners · #boston · #coding · #cog · #concurrency · #continuous-integration · #coverage · #css · #development · #experts · #git · #github · #graphics · #how-to · #juggling · #maps · #math · #online · #python · #scriv · #testing · #twitter · #walking · 2023 · 22 · 21 · 20 · 19 · 18 · 17 · 16 · 15 · 14 · 13 · 12 · 11 · 10 · 09 · 08 · 07 · 06 · 05 · 04 · 03 · 02 · RSS feed » more topics..

Code

software I made

  • Dinghy ·· for digesting GitHub activity
  • Scriv ·· for managing changelogs
  • coverage.py ·· for measuring Python code coverage

» more code..

Text

words I wrote

» more text..