Steven D'Aprano wrote:
> On Thu, 01 Dec 2011 00:00:52 -0500, Roy Smith wrote:
>
> > Another possibility is setting your TERM environment variable to
> > something that readline can't support:
> >
> > ~$ TERM=asr33
> > ~$ python
> > Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Ap
On Thu, 01 Dec 2011 00:00:52 -0500, Roy Smith wrote:
> Another possibility is setting your TERM environment variable to
> something that readline can't support:
>
> ~$ TERM=asr33
> ~$ python
> Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc.
> build 5646)] on darwin Type "h
In article <4ed6ffed$0$29986$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> Is there a way to disable readline support in the interactive interpreter
> at runtime? Either from within an existing session, or when the session
> starts up will do.
I'm
Is there a way to disable readline support in the interactive interpreter
at runtime? Either from within an existing session, or when the session
starts up will do.
I am trying to test the behaviour of some interactive scripts which rely
on readline. I have work-arounds for missing readline
For licensing reasons, I need to disable readline, except editline on
OSX, when building Python. For the life of me, I cannot figure out how
this can be done ("./configure --help" does not show anything relevant);
I've tried the following, and readline.so will still be built:
Paul Moore schrieb:
> I run Python on Windows. I have the (pure Python) pyreadline package
> installed for (occasional) use by IPython. However, when I use the
> normal Python interactive prompt, the mere fact that the readline
> module exists means that it gets used.
>
> Is there a way of disabli
t; > module exists means that it gets used.
>
> I used to get round this by installing pyreadline within the
> iPython package, so it only appeared to exist from that
> app's POV.
Interesting approach - I hadn't thought of that. I might give that a
try. Nevertheless, if it isn
Paul Moore wrote:
I run Python on Windows. I have the (pure Python) pyreadline package
installed for (occasional) use by IPython. However, when I use the
normal Python interactive prompt, the mere fact that the readline
module exists means that it gets used.
I used to get round this by installi
I run Python on Windows. I have the (pure Python) pyreadline package
installed for (occasional) use by IPython. However, when I use the
normal Python interactive prompt, the mere fact that the readline
module exists means that it gets used.
Is there a way of disabling this? (Preferably by default,
Hi !
I'd like to init curses and still have working Python interactive
command line. I found that you can replace stdin/stdout/stderr
like this:
#!/usr/bin/python -i
import curses
import sys
import atexit
# this doesn't help, anyway
#del sys.modules['readline']
# global variable (curses window
10 matches
Mail list logo