Coding 2025-01-20
Okay, let's go, and make this quick. I was kind of spaced out today, so I'm going to look over yesterday's post, and try to quickly throw something together to improve things.
...
Okay, I've got code together that should allow me to clarify some common code patterns in these modules and reduce boilerplate, but I'm not comfortable going ahead until I figure out the right amount of boilerplate to get rid of, because sometimes the code isn't quite the same between modules, and I'm looking at it, not totally sure if these differences are meaningful. Like, I'm going to need to, at a less sleepy time, go over this code and figure out what the actual flow is, because I've totally forgotten most of what I was doing, and the stuff I do remember seems a little questionable.
Things to try to figure out later:
- Can I turn new_typical into a keyword-only argument to new?
- Does it break anything if I add a Placeholder pip object with nothing in it to the Python wrapper code? (Is its current absence breaking anything?)
- Can I add a helper method to runner.ExecutableAndInvocation to be the equivalent of the runner() method, but it instead produces a ModuleRunner?
By pondering these questions, I have gotten... somewhere, and I should be able to get a little further in the days to come. For now, it's later than I'd like.
Good night.