[issue19884] Importing readline produces erroneous output

Bohuslav "Slavek" Kabrda report at bugs.python.org
Wed Dec 4 13:06:16 CET 2013


New submission from Bohuslav "Slavek" Kabrda:

A simple reproducer:

python -c 'import readline' | xxd
0000000: 1b5b 3f31 3033 3468                      .[?1034h

This was reported at [1] and originally at [2]. The readline maintainer suggests [3] using:

rl_variable_bind ("enable-meta-key", "off");

which was introduced in readline 6.1. Do you think it'd be safe to add the above line?

Thanks.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=880393
[2] https://bugzilla.redhat.com/show_bug.cgi?id=593799
[3] http://lists.gnu.org/archive/html/bug-readline/2011-04/msg00009.html

----------
components: Extension Modules
messages: 205217
nosy: bkabrda
priority: normal
severity: normal
status: open
title: Importing readline produces erroneous output
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19884>
_______________________________________


More information about the Python-bugs-list mailing list