-
Notifications
You must be signed in to change notification settings - Fork 127
Added sigint protection while entering/leaving cmd2 and Python interactive shells #730
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
Conversation
| return arg_decorator | ||
|
|
||
|
|
||
| class _SavedReadlineSettings: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this code belong in rl_utils.py?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this class is only used in cmd2.py, I'm OK leaving it.
tleonhardt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the CHANGELOG be updated in some way to reflect this change?
|
@tleonhardt No need for CHANGELOG updates on this |
Codecov Report
@@ Coverage Diff @@
## master #730 +/- ##
==========================================
+ Coverage 97.15% 97.21% +0.05%
==========================================
Files 13 13
Lines 3376 3406 +30
==========================================
+ Hits 3280 3311 +31
+ Misses 96 95 -1
Continue to review full report at Codecov.
|
Fixes #686
This should prevent getting into mixed environment states by allowing environment changes to occur atomically.