Commit 916060b
committed
Fix a bug discovered during manual testing
I found that at least with certain versions of Python and OSes, if I had a previous text-based readline history, an unhandled UnpicklingError exception could occur. So now we catch that and several other possible errors which can theoretically occur during unpickling and just move on with an empty history. The old file will get overwritten with one in the new format when the application exits.1 parent f82c365 commit 916060b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3479 | 3479 | | |
3480 | 3480 | | |
3481 | 3481 | | |
3482 | | - | |
| 3482 | + | |
| 3483 | + | |
3483 | 3484 | | |
3484 | 3485 | | |
3485 | 3486 | | |
| |||
0 commit comments