[Pythonmac-SIG] Linking against a Python extension

2005-12-20 Thread matthias . oberlaender
First question: Is it possible to link against a normally built Python extension? More specifically, I want to pass the '.so' file of some Python extension as an extra link argument to the 'weave.inline' function. This seems to work quite well on Linux. But I suspect, on Mac OS X the answer i

Re: [Pythonmac-SIG] py2app uses wrong version of wxPython?

2005-12-20 Thread Erik Westra
Hi Kevin, > When you run py2app, the output should indicate exactly where it is > getting the wxPython scripts and dlls from. Search the py2app > output for any instances of 'wx' in the filename, then track down > those locations and see what the wxPython version is there. I've > released

Re: [Pythonmac-SIG] Linking against a Python extension

2005-12-20 Thread Bob Ippolito
> First question: Is it possible to link against a normally built Python > extension? > > More specifically, I want to pass the '.so' file of some Python extension > as an extra link argument to the 'weave.inline' function. This seems to > work quite well on Linux. But I suspect, on Mac OS X the a

[Pythonmac-SIG] instance of iTune or Finder

2005-12-20 Thread Zhi Peng
Hi! All   Did anyone try to catch an instance of iTune or Finder under Mac by C or python? What OSA function should I use? Thanks   Zhi __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _

[Pythonmac-SIG] tell application

2005-12-20 Thread Zhi Peng
Hi! All   Could I ask you, what exactly corresponding c or python code on apple script "tell application iTune" or "tell application Finder"?   Thanks   Zhi __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around

[Pythonmac-SIG] PyObjC + AEInstallEventHandler crash?

2005-12-20 Thread has
Hi all, Trying to figure why the following test app crashes when a 'testtest' Apple event is sent to it: # cocoatest.py from PyObjCTools import AppHelper from Carbon.AE import AEInstallEventHandler AEInstallEventHandler('test', 'tes

Re: [Pythonmac-SIG] PyObjC + AEInstallEventHandler crash?

2005-12-20 Thread Bob Ippolito
> Trying to figure why the following test app crashes when a 'testtest' > Apple event is sent to it: > > > # cocoatest.py > > from PyObjCTools import AppHelper > from Carbon.AE import AEInstallEventHandler > > AEInstallEventHandler('test'

Re: [Pythonmac-SIG] PyObjC + AEInstallEventHandler crash?

2005-12-20 Thread Bob Ippolito
> Bob Ippolito wrote: > >> > Trying to figure why the following test app crashes when a 'testtest' >> > Apple event is sent to it: >> >>My guess is that there's a refcount or GIL bug in >>Carbon.AE.AEInstallEventHandler. > > How would a GIL bug manifest itself? I always assumed it only became an >

Re: [Pythonmac-SIG] Linking against a Python extension

2005-12-20 Thread matthias . oberlaender
[EMAIL PROTECTED] schrieb am 20.12.2005 22:25:28: > > First question: Is it possible to link against a normally built Python > > extension? > > > > More specifically, I want to pass the '.so' file of some Python extension > > as an extra link argument to the 'weave.inline' function. This seems t