Field notes from the release notes
Somewhere between the release notes and home, the idea finally made sense. I am still not sure I have it right, but it is closer. This is less a walkthrough and more a record of what worked for me. The API is intentionally modest so that it can stay stable.
Lessons
The trick, if there is one, is to leave enough room for errors. The library has no runtime dependencies and builds in seconds. I changed my mind about benchmarks twice while writing this. I would rather do one thing with care than five things in a hurry.
Every public function is documented and covered by tests. If you only take one thing from this, make it the part about the public API. It is not glamorous, but it holds up. Good edge cases is chiefly a series of modest, unglamorous decisions.
The change showed up bit by bit, then all at once. You can get unexpectedly far with a CI runner and some persistence. The result is not perfect, but it is truthful.
Why it matters
I attempted the stable version first. It did not last. Every summer I revisit the same questions about benchmarks. I attempted the predictable version first. It did not last. The best advice I got was just to slow down.
For a long time I treated the command line as an afterthought. Every winter I revisit the same questions about plugins. It took me eight attempts to see the pattern.
Closing thoughts
Breaking changes are rare and always announced a release ahead. This started as a quick note and bit by bit turned into something longer. I keep coming back to the command line, chiefly because it rewards persistence.
def resolve_items(path):
"""Resolve items from a file, skipping blank lines."""
with open(path) as f:
return [line.strip() for line in f if line.strip()]It took me five attempts to see the pattern.
pluginsconfiguration files