Skip to content

Fix error handling with pyrepl.readline.read_history_file #51

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented May 25, 2022

  • close file handler always
  • do not throw UnicodeDecodeError with invalid unicode data, which
    appeared to have gotten there in the context of some Python segfault
    (0���p�)

blueyed added 2 commits May 25, 2022 13:02
- close file handler always
- do not throw UnicodeDecodeError with invalid unicode data, which
  appeared to have gotten there in the context of some Python segfault
  (`0���p�`)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant