Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Yes, I do use the threading module, but it's not quite that simple. Some of my threads are actually running Java code, for PyLucene. This is part of UpLib, at http://uplib.parc.com/. Thanks for the pointers. Is there a home site for rpdb2? Or is it just part of winpdb? The nice thing about gdb

[Pythonmac-SIG] Python Core Graphics Question (resent)

2009-06-02 Thread Geert Dekkers
Hi all (I just resent this message as I couldn't it find it on the digest even after days - again, I apologise for any cross-posting) Below is a piece of code that I found over in the quartz-dev list. I've been using this function unchanged in a batch processor, and it appears to leak memory

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Leonardo Santagada
On Jun 2, 2009, at 1:18 PM, Bill Janssen wrote: Actually, I'm debugging Python code, but it's running in a multi-threaded Python server. So I need to attach with gdb to see what's going on. It would be nice if "Thread Viewer" had the ability to decode Python stack traces. Thanks for the info

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Actually, I'm debugging Python code, but it's running in a multi-threaded Python server. So I need to attach with gdb to see what's going on. It would be nice if "Thread Viewer" had the ability to decode Python stack traces. Thanks for the info. I'll try building using the Apple sources. Bill

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Ronald Oussoren
On 2 Jun, 2009, at 17:26, Bill Janssen wrote: Thanks, Ronald. It looks to me as if MacPython already includes the -g flags appropriately (at least build-script.py does); could I just download 2.5.4 from python.org and use that for debugging? Not necessarily. Apple's version of python include

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Thanks, Ronald. It looks to me as if MacPython already includes the -g flags appropriately (at least build-script.py does); could I just download 2.5.4 from python.org and use that for debugging? Bill Ronald Oussoren wrote: > Apple has the sources of the open-source components of OSX on their

Re: [Pythonmac-SIG] Can't get ASDictionary to work (py2app problems?)

2009-06-02 Thread Nicholas Riley
On Jun 2, 2009, at 1:58 AM, Ronald Oussoren wrote: I don't have time to look into the py2app issues right now. That said, I wouldn't install a new version of pyobjc in the system install of python because this might break other bits of the system. Thanks for the warning - you may want to ma

Re: [Pythonmac-SIG] Can't get ASDictionary to work (py2app problems?)

2009-06-02 Thread Nicholas Riley
To bring a (temporary) conclusion to all of this, the reason I upgraded the system version of py2app (or rather its dependency, modulegraph) was that it was incompatible with the current version of setuptools (0.7a1). I think this is actually a setuptools bug, which I've reported: