Coding 2023-10-11
I regret to inform that getting back into MOTR is super-cursed. Things I ran into:
- It only works on Python 3.11 because of reasons.
- I somehow managed to write the motrfile against a version that I never published, so I had to monkeypatch the internals at the beginning of the motrfile.
- Mypy 1.6 has a behavior change that I want to call a regression. Basically, it breaks using overload and singledispatchmethod together, under some circumstances.
- The saltate plugin had a bug, and I never noticed until I happened to throw together a test case that demonstrated it. Unpleasantly, the bug was in one of the cases that aren't even a little hexed on a conceptual level, so I don't even have the excuse that the relevant behaviors are confusing; the code was just wrong, and it may still be wrong...
I need to wrap up, because I'm having a bad time right now, and if I stay up any longer, I'll just make it worse.
Good night.