Skip to content

Conversation

@kmvanbrunt
Copy link
Member

Fixes #686
This should prevent getting into mixed environment states by allowing environment changes to occur atomically.

@kmvanbrunt kmvanbrunt self-assigned this Jul 18, 2019
return arg_decorator


class _SavedReadlineSettings:
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

@tleonhardt tleonhardt left a 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?

@kmvanbrunt
Copy link
Member Author

@tleonhardt No need for CHANGELOG updates on this

@codecov
Copy link

codecov bot commented Jul 19, 2019

Codecov Report

Merging #730 into master will increase coverage by 0.05%.
The diff coverage is 89.36%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
cmd2/cmd2.py 96.57% <89.36%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b1852a...6b0d357. Read the comment docs.

@kmvanbrunt kmvanbrunt merged commit de6d493 into master Jul 19, 2019
@kmvanbrunt kmvanbrunt deleted the sigint_protection branch July 19, 2019 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more sigint protection

3 participants