[issue9748] .inputrc magic-space breaks interactive mode

2010-09-07 Thread Amaury Forgeot d'Arc

Changes by Amaury Forgeot d'Arc amaur...@gmail.com:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9748
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9748] .inputrc magic-space breaks interactive mode

2010-09-05 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

I didn't know what magic space is. But a quick google search shows that it is 
specific to Bash.

in http://www.ukuug.org/events/linux2003/papers/bash_tips/#S16

There are other readline-based programs without this feature, so make it only 
apply in Bash:

$if Bash
  Space: magic-space
$endif

For example the MySQL client and the Perl debugger can also use the readline 
library.


Python also uses the readline library; you should add the $if Bash.

--
nosy: +amaury.forgeotdarc
resolution:  - invalid
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9748
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9748] .inputrc magic-space breaks interactive mode

2010-09-05 Thread stephenk

stephenk krauth.sp...@gmail.com added the comment:

Didn't know about the inputrc conditional; that works.  I verified that 
magic-space (without the conditional) also interferes with mysql, so this seems 
like less of an oversight on the side of python and more of a bash-user-beware 
situation.

Anyway, thanks for the workaround!

--
status: pending - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9748
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9748] .inputrc magic-space breaks interactive mode

2010-09-02 Thread stephenk

Changes by stephenk krauth.sp...@gmail.com:


--
components: None
nosy: stephenk
priority: normal
severity: normal
status: open
title: .inputrc magic-space breaks interactive mode
type: behavior
versions: Python 2.6, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9748
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9748] .inputrc magic-space breaks interactive mode

2010-09-02 Thread stephenk

New submission from stephenk krauth.sp...@gmail.com:

Adding the following line to ~/.inputrc for bash commandline usage will break 
the python interactive interpreter.  Specifically, you can no longer type 
space characters:

Space: magic-space

This is fairly serious for bash users, because once you've lived with 
magic-space you don't ever want to live without it.

This was tested under 2 different operating systems (Ubuntu 9.10, FreeBSD 6.0) 
and 3 different python versions, so the problem seems widespread.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9748
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com