Bill Janssen wrote:
> Just curious...
>
> Is there really a need for the readline library? On Mac, I always run
> Python shells in either (1) Terminal, or (2) xterm, or (3) an Emacs
> shell buffer. All of them have readline capability built in. I never
> need Python to have readline capability.
> > I never
> > need Python to have readline capability.
>
> Yeah you do, you probably just don't realize that you're using it.
No, I really don't. The only time I ever interact with the Python
REPL is in a GNU Emacs shell buffer (or, rarely, an Emacs pdb buffer),
which does the dance for me. I
On Apr 13, 2006, at 9:41 PM, Bill Janssen wrote:
> Just curious...
>
> Is there really a need for the readline library? On Mac, I always run
> Python shells in either (1) Terminal, or (2) xterm, or (3) an Emacs
> shell buffer. All of them have readline capability built in. I never
> need Pytho
Just curious...
Is there really a need for the readline library? On Mac, I always run
Python shells in either (1) Terminal, or (2) xterm, or (3) an Emacs
shell buffer. All of them have readline capability built in. I never
need Python to have readline capability. What's the use case here?
Bil
> You can build the readline extension separately from Python without
> much fuss. I have a setup.py for it and the extracted source
> sitting in my svn:
> http://svn.red-bean.com/bob/readline/trunk/
Thanks! I didn't know it was that easy.
Also, thanks everyone for your time while this issue
>> So... I have found that IPython exposes a bug in GNU readline 5.1,
>> sadly enough. This bug causes segfaults when the up-arrow key is
>> used under certain situations. Ugh. Fortunately, the extant
>> readline 5.1 patches solve this issue nicely. Hopefully you'll get
>> a chance in the n
On Apr 13, 2006, at 4:19 PM, Ronald Oussoren wrote:
> Which patch? Please provide a link to that patch, I won't go hunting
> for it.
Current readline 5.1 patches are at:
ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches
Cheers,
Mike
___
Pythonmac-SIG
On 13-apr-2006, at 18:47, Zachary Pincus wrote:
>>> This is for Bob Ippolito -
>>
>> No it isn't, Bob didn't build the 2.4.3 release ;-)
>
> Sorry sorry! Thanks for making that build, by the way.
>
>>
>>>
>>> What version of readline comes with the Universal MacPython 2.4.3
>>> release? And is it
Alex Tweedly wrote:
>
> I'm pretty clueless about how everything (including the whole
> "framework" thing) fits together on OS X, but I'd suggest trying this ...
>
> run python, and do
>
>> import sys
>> print sys.path
>
> and see if it contains the PythonCard directory as you expect it. If
> it
Louis Pecora wrote:
> Alex Tweedly wrote:
>
>>
>> You should also look, then, at Pythoncard ( www.pythoncard.org )
>> Excellent for simple UIs, simple for excellent UIs :-)
>>
> Got it, ran sudo python setup.py install, seemed to go OK. Ran
> minimaltest and it could not find PythonCard module.
>> This is for Bob Ippolito -
>
> No it isn't, Bob didn't build the 2.4.3 release ;-)
Sorry sorry! Thanks for making that build, by the way.
>
>>
>> What version of readline comes with the Universal MacPython 2.4.3
>> release? And is it statically-linked, or is there a readline dylib
>> somewhere
>>> Just for fun, what's the point of the execve? Just to choose the
>>> right Python executable?
>>
>> Never mind, I found it on Bob's blog. It's to get around the
>> requirement to have an app bundle if you want to draw on the screen,
>> apparently.
>
> That's right.
>
> Note that this function
Alex Tweedly wrote:
>
> You should also look, then, at Pythoncard ( www.pythoncard.org )
> Excellent for simple UIs, simple for excellent UIs :-)
>
Got it, ran sudo python setup.py install, seemed to go OK. Ran
minimaltest and it could not find PythonCard module. I have a path to
the PythonCard
Just wanted to report that patching readline 5.1 and recompiling
python from source did fix the original problem I had with IPython.
Cheers,
Mike
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-
Charles Hartman wrote:
> It occurs to me that if you added an OnExit() handler to your app --
> any app that's giving quit-too-soon trouble. The handler could simply
> put up a wx.MessageBox, which gets an OK from the user. This would
> pause the app on the way out, and therefore permit the norm
On 13-apr-2006, at 8:33, Bill Janssen wrote:
>> Just for fun, what's the point of the execve? Just to choose the
>> right Python executable?
>
> Never mind, I found it on Bob's blog. It's to get around the
> requirement to have an app bundle if you want to draw on the screen,
> apparently.
Tha
On 13-apr-2006, at 0:42, Bob Ippolito wrote:
>>
>> While I'm sure that the execve stuff is a necessary evil (and
>> certainly less troublesome than the pythonw mess), it's worth
>> noting the little user-unfriendly situations like this that an
>> "ideal" solution to the problem would not have. I
On 12-apr-2006, at 23:19, Zachary Pincus wrote:
> This is for Bob Ippolito -
No it isn't, Bob didn't build the 2.4.3 release ;-)
>
> What version of readline comes with the Universal MacPython 2.4.3
> release? And is it statically-linked, or is there a readline dylib
> somewhere in the python f
18 matches
Mail list logo