Steven D'Aprano added the comment:

A question came up on Python-ideas about readline apparently missing a standard 
function. See:

http://mail.python.org/pipermail/python-ideas/2012-October/016329.html

For debugging issues with readline, it would be be very useful to be able to 
query the current set of bindings. This would also help people avoid 
accidentally over-writing existing bindings.

I suggest emulating the three bash commands:

bind -p  # List functions and bindings in a form that can be reused as input.
bind -v  # As above for variable names and values.
bind -s  # As above for macros and values.

----------
nosy: +stevenjd
versions: +Python 3.4 -Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8492>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to