Skip to content

Commit 0e4131b

Browse files
committed
Added changes related to py console
1 parent e026763 commit 0e4131b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Bug Fixes
33
* If self.default_to_shell is true, then redirection and piping are now properly passed to the shell. Previously it was truncated.
44
* Submenus now call all hooks, it used to just call precmd and postcmd.
5+
* Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item``
56
* Enhancements
67
* Automatic completion of ``argparse`` arguments via ``cmd2.argparse_completer.AutoCompleter``
78
* See the [tab_autocompletion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocompletion.py) example for a demonstration of how to use this feature
@@ -16,6 +17,9 @@
1617
* ``identchars`` is now ignored. The standardlibrary cmd uses those characters to split the first "word" of the input, but cmd2 hasn't used those for a while, and the new parsing logic parses on whitespace, which has the added benefit of full unicode support, unlike cmd or prior versions of cmd2.
1718
* ``set_posix_shlex`` function and ``POSIX_SHLEX`` variable have been removed. Parsing behavior is now always the more forgiving ``posix=false``.
1819
* ``set_strip_quotes`` function and ``STRIP_QUOTES_FOR_NON_POSIX`` have been removed. Quotes are stripped from arguments when presented as a list (a la ``sys.argv``), and present when arguments are presented as a string (like the string passed to do_*).
20+
* Enhanced the ``py`` console in the following ways
21+
* Added tab completion of Python identifiers instead of **cmd2** commands
22+
* Separated the ``py`` console history from the **cmd2** history
1923
* Changes
2024
* ``strip_ansi()`` and ``strip_quotes()`` functions have moved to new utils module
2125
* Several constants moved to new constants module

0 commit comments

Comments
 (0)