half-way finished migration

This commit is contained in:
2024-04-18 19:47:16 -06:00
parent 27c700767c
commit bad3a00e3c
56 changed files with 2441 additions and 8 deletions

View File

@@ -1,17 +0,0 @@
import os
import atexit
import readline
history = os.path.join(os.environ['XDG_CACHE_HOME'], 'python_history')
try:
readline.read_history_file(history)
except OSError:
pass
def write_history():
try:
readline.write_history_file(history)
except OSError:
pass
atexit.register(write_history)