Yep, a __del__ in the redis client code caused almost random deadlocks at my job for several years. Manual intervention was required to restart stuck Celery jobs. Took me about 2-3 weeks to find the culprit (had to deploy python interpreter compiled with debug info into production, wait for deadlock to happen again, attach with gdb and find where it happens). One of the most difficult production issues I had to solve in my life (because it happened randomly and it was impossible to even remotely guess what is causing it).
> Commands like a for appending text are unchanged from the teletype era
I don't find these commands a historical baggage. They're quite useful even today. Also commands like A, I, P, O in vim are super-useful when recording macros (macros are easier to record and more robust because they less depend on the context where they would be run).