Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Robert Kern
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.

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Bill Janssen
> > 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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Michael Broe
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Bill Janssen
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Zachary Pincus
> 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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Zachary Pincus
>> 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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Michael Broe
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Ronald Oussoren
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-13 Thread Louis Pecora
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-13 Thread Alex Tweedly
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.

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Zachary Pincus
>> 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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Zachary Pincus
>>> 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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-13 Thread Louis Pecora
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Michael Broe
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-

Re: [Pythonmac-SIG] wxPython -- getting Traceback on errors (was: some disappointment using it.)

2006-04-13 Thread Louis Pecora
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Ronald Oussoren
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Ronald Oussoren
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

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Ronald Oussoren
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