ファイルから1行を読み込み、文字列として返します。 サンプルプログラムをダウンロードしてテキストエディタで確認ができますし、実行環境で試すこともできます。
Custom readline settings are lost upon importing certain modules (matplotlib.pyplot) using the python interpreter installed using Miniconda. Namely if the .inputrc files specifies a vi editing mode ...
While testing python3 ptests (i.e. those contained in Lib/test/) in Yocto for 3.12.5, it was noted that test_write_read_limited_history() fails if Python was configured to use libedit/editline ...