[Pythonmac-SIG] (no subject)

2008-05-29 Thread Georg
Hello, I'm running Python under OS X 10.4 on a MacPro, and I'm running up against the limitations of a 32 bit address space (i.e., I can't use more than 4gb of space). I have 64 bit processors in my machine -- will upgrading to Leopard allow Python to use a 64 bit address space? sorry if thi

Re: [Pythonmac-SIG] (no subject)

2008-05-29 Thread Georg
x27;t allocate region Python(23121) malloc: *** set a breakpoint in szone_error to debug My hope is that Leopard ships with a 64-bit version of Python, so that I can at least fill up the 10GB of RAM that I have. Thanks! - Original Message From: Conrad Taylor <[EMAIL PROTECTED]>

[Pythonmac-SIG] embed python in cocoa

2008-05-18 Thread Georg Seifert
to access them from within the python script? I found the examples on how to wrap c/c++ functions but nothing about ObjectC. Many thanks in advance Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/lis

Re: [Pythonmac-SIG] embed python in cocoa

2008-05-19 Thread Georg Seifert
described here: http://www.python.org/doc/ext/extending-with-embedding.html but how I do this with ObjectC classes? Thanks Georg Am 19.05.2008 um 15:15 schrieb Jack Nutting: Can anyone give me some advice how I wrap my cocoa classes to be able to access them from within the python script? I

Re: [Pythonmac-SIG] embed python in cocoa

2008-05-22 Thread Georg Seifert
ridge docs as it is some time since I used this but that will be easy. Many thanks for your detailed replies. Georg On 22.05.2008, at 05:15, Michael VanLandingham wrote: Hi Georg, I've posted an example app up here: PythonEmbedExample-ObjectPool cobbled together from some other projects

[Pythonmac-SIG] what object I can assign to sys.stderr

2008-05-22 Thread Georg Seifert
Thanks in advance Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] extractClasses and NIB 3.0

2008-06-03 Thread Georg Seifert
the ? Or are NIB 3.x file not supported Or do I miss something obvious? My Python code: NibClassBuilder.extractClasses("MyWindow", bundle=NSBundle.mainBundle()) class MyExporter(NibClassBuilder.AutoBaseClass): Thanks Georg

[Pythonmac-SIG] plugin destroys python?

2008-06-03 Thread Georg Seifert
ource file: import.c (line: 320) I do init python in the main.m does anyone has a suggestion? Thanks in advance Georg p.s. an other small question: why does the python plugin does not "conformsToProtocol:" even if I declare it? Do I miss something? __

[Pythonmac-SIG] build Python Plugin in XCode

2008-06-05 Thread Georg Seifert
hello, is is possible, to build plugins (like the Cocoa Bundles) written in python? I could use py2app, but I have problems with it (as you can see in my last post). There are presets for python apps, but not for bundles. regards Georg

[Pythonmac-SIG] python Plugin conform to protocol

2008-06-23 Thread Georg Seifert
works as expected but I would like to be sure that the plugin conforms. Do I miss something something? Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Problem with Framework

2008-08-09 Thread Georg Seifert
/Desktop/Pantografer.app/Contents/MacOS/ Pantografer Reason: image not found I do not have any python 2.4 on my machine and link again the 2.5 framework. what could be wrong. Thanks Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] Problem with Framework

2008-08-10 Thread Georg Seifert
is there a way to select witch framework to use? Georg On 9-Aug-2008, at 17:56 , Georg Seifert wrote: Dyld Error Message: Library not loaded: /Library/Frameworks/Python.framework/Versions/ 2.4/Python Referenced from: /Users/Tim/Desktop/Pantografer.app/Contents/MacOS/ Pantografer

[Pythonmac-SIG] scripting over Distributed Objects

2009-06-11 Thread Georg Seifert
py) Does anybody has an idea what to do? Can I somehow make python to return the actual cocoa object rather than the proxy? Many Thanks Georg excerpt of my python code: [..] def application(appName): appPath = NSWorkspace.sharedWorkspace().fullPathForApplicatio

[Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Georg Seifert
t it can’t find python 2.6. Is there a my to always use the current python version (2.5 on Leopard and 2.6 on Snow Leopard) I link against the "/System/Library/Frameworks/Python.framework" Regards Georg ___ Pythonmac-SIG maillist - Pyth

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-10 Thread Georg Seifert
on Leopard). How do I specify the version to link with. The 10.5 SDK links against python 2.5 and the 10.6 SDK to 2.6. But what if I need the 10.6 SKD but want to link to python 2.5? Regards Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@pytho

[Pythonmac-SIG] shild App against crashes in call of PyRun_SimpleString

2010-01-22 Thread Georg Seifert
Hi, What is the best way to protect my app from crashes if something went wrong in a PyRun_SimpleString call. I get (very few) crash reports like the on below. Does someone know what is going on? This happened with 10.6.2. Thanks Georg Application Specific Information: Assertion failed

[Pythonmac-SIG] python plugins in Cocoa app.

2010-07-02 Thread Georg Seifert
quot;); Py_Finalize(); In my app, I week link to python through OTHER_LDFLAGS = -weak_framework Python (This was needed to support both Leopard and Snow Leopard.) Can anyone shed some light on my problem? Best Regards Georg Seifert

Re: [Pythonmac-SIG] python plugins in Cocoa app.

2010-07-02 Thread Georg Seifert
Hi, Thanks a lot. This did the trick. By the way. Is it save to use the "-A" option in my bundles if I ship the plugin to uses? Many Thanks Georg Seifert p.s. You can have a look at the app (it is an open BETA version) www.glyphsapp.com > >> Hi, >> >> I hav

Re: [Pythonmac-SIG] python plugins in Cocoa app.

2010-07-02 Thread Georg Seifert
s='GSToolTest', CFBundleIdentifier = "com.GlyphsTestPlugin.GlyphsExport", NSHumanReadableCopyright = "Copyright, Georg Seifert, 2010", ) setup( plugin = ['GlyphsToolTest.py'], options=dict(py2app=dict(

[Pythonmac-SIG] lists and accessors

2010-07-08 Thread Georg Seifert
method names. Is it somehow possible to tell python what accessors to use or is there a way to supply python wrappers? Or could I build a bridgesupport file? Many Thanks Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org

Re: [Pythonmac-SIG] lists and accessors

2010-07-10 Thread Georg Seifert
e first): TypeError: 'dictproxy' object does not support item assignment If I used: GSPath.nodes = lambda self: PathNodesProxy(self) It worked somehow, but it actually removed the nodes property from the cocoa object. And I still had to use the parenthesis. Best Reg

Re: [Pythonmac-SIG] lists and accessors

2010-07-16 Thread Georg Seifert
Hi Ronald, This works wonderfully. Many Thanks. Georg > > On 11 Jul, 2010, at 1:18, Georg Seifert wrote: > >> Hi Ronald, >> >> Thanks for your response. >> >> I did tried this: >> >> class PathNodesProxy (object): >>

[Pythonmac-SIG] custom framework with bridgesupport file

2011-04-19 Thread Georg Seifert
_path+'/Versions/A/Resources/BridgeSupport/MyFramework.bridgesupport') f.close() I have to put this in the script for every run. Is there a better way to tell python to pick the file up automatically? Best Georg ___ Pythonmac-SIG maillist - Pythonm

Re: [Pythonmac-SIG] Building plans .....

2020-03-16 Thread Georg Seifert
python interpreter? OR if you are using XCode as your IDE for > developing a Python App? > I’m using that in my app (written in ObjectiveC) to be able to run python scripts inside the app and to load plugins that are written in python but don’t bring ther

Re: [Pythonmac-SIG] Moving to python3.12 on M3 Max

2024-09-17 Thread Georg Seifert via Pythonmac-SIG
can access each version with a `python3.X` and `pip3.X` binaries. `python` and `python3` will be of the version you installed last. Georg ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig uns