Traceback (most recent call last):
File ".../ptpython/ptpython/repl.py", line 445, in run_config
with open(config_file, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '~/.config/ptpython/config.py'
Press ENTER to continue...
>>>
Recreation
Originally discovered by @orhanhenrik in https://github.com/prompt-toolkit/ptpython/pull/551#issuecomment-1853783799:
With PR (no config)
No error! Buttery smooth!
With PR (with configuration)
Also works!