Server Migration Notice (31/10/2026) — New SSH Host Keys (git.kb28.ch)
Following the server migration on 31/10/2026, the SSH host keys for git.kb28.ch have changed. If you encounter the REMOTE HOST IDENTIFICATION HAS CHANGED warning during git pull or git push, run the following command to directly replace the old key in your ~/.ssh/known_hosts file:
Official New SSH Key Fingerprints:
- ED25519:
SHA256:UrTJ+OdOKicPnL+6EgOHGlFSBm9KA+kBGMpKtoUBIOA
- ECDSA:
SHA256:qne+wTzSr8k5KIuEtXNYz9/LYed4eOMSmxzgMZ4g+KI
- RSA:
SHA256:eaVzvSUlo66pMayLMHL/cWg4zoPui3LmLOWKm0XX22g
This PR enables the Python type checker to statically evaluate cast expressions on literal values.
To do so, it adds an
Evaluatorclass which can evaluate custom Python AST expressions given some literal value.That could have also been implemented using Python's own
evalmachinery, but I prefer to have control on how things are evaluated and what is available in the context.Finally, cast expressions which have been fully evaluated statically do not generate runtime assertions as this would be redundant.