-
Notifications
You must be signed in to change notification settings - Fork 85
Fix redisplay() missing & history-files with non-latin chars #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
… on non-Latin + Use io.open() to pass `encoding='utf-8'` when opening history-file. + Use `with ...` resource management not to leak file-handles. + The errors was: UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1818: character maps to <undefined>
sadly it looks like this will never be merged |
Why not merge this ? |
Please raise your PR here and we can do a quick release. |
Ok, done with brgirgis/pyreadline3#1 |
pyreadline3/pyreadline3 is the final destination. Sorry for the confusion. |
note, you have broke fork-relationship, so now i don;t get a PR automatically when landing on the new repo :-(. |
Ok, rewritten my original PR, please @brgirgis approve my workflow. |
… on non-Latin + Use io.open() to pass `encoding='utf-8'` when opening history-file. + Use `with ...` resource management not to leak file-handles. + The errors was: UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1818: character maps to <undefined> (cherry picked from commit e85c860) pyreadline#56: This commit and the previous three commits are from https://github.com/ankostis/pyreadline/tree/redisplay
A band-aid PR that fixes #49 and #55 annoying bugs.