Skip to content

Commit 691d775

Browse files
committed
Addressed PR comments
1 parent 415f1cb commit 691d775

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.9.26 (January 26, 2020)
1+
## 0.9.26 (TBD, 2020)
22
* Breaking changes
33
* Renamed `locals_in_py` attribute of `cmd2.Cmd` to `self_in_py`
44
* The following public attributes of `cmd2.Cmd` are no longer settable at runtime by end users:

cmd2/cmd2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
181181
super().__init__(completekey=completekey, stdin=stdin, stdout=stdout)
182182

183183
# Attributes which should NOT be dynamically settable via the set command at runtime
184-
# To prevent a user from altering these with the py/ipy commands, remove self_in_py from the
185-
# settable dictionary during your applications's __init__ method.
186184
self.default_to_shell = False # Attempt to run unrecognized commands as shell commands
187185
self.quit_on_sigint = False # Quit the loop on interrupt instead of just resetting prompt
188186
self.allow_redirection = allow_redirection # Security setting to prevent redirection of stdout

0 commit comments

Comments
 (0)