[Pythonmac-SIG] Re: [Pyobjc-dev] missing method?

2005-01-04 Thread Dethe Elza
You need to replace colons in the Cocoa method with underscores in Python, so [dictionaryWithContentsOfFile: @"/path"] // My ObjC may be off a bit, but something like this becomes dictionaryWithContentsOfFile_(u"/path") # note underscore --Dethe As for intelligent machines taking over, a machin

Re: [Pythonmac-SIG] Some question about pyobjc and creating nib based application...

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 8:14 PM, whamoo wrote: On 05/gen/05, at 01:57, Bob Ippolito wrote: from Foundation import NSLog from PyObjCTools import NibClassBuilder NibClassBuilder.extractClasses("MainMenu") class provaAppDelegate(NibClassBuilder.AutoBaseClass): def applicationDidFinishLaunching_(self, aN

[Pythonmac-SIG] pychecker

2005-01-04 Thread Mike Hansen
Subject: Re: [Pythonmac-SIG] pychecker From: Bob Ippolito <[EMAIL PROTECTED]> Date: Mon, 3 Jan 2005 23:13:21 -0500 To: Robert Kern <[EMAIL PROTECTED]> To: Robert Kern <[EMAIL PROTECTED]> CC: pythonmac-sig@python.org On Jan 3, 2005, at 10:25 PM, Robert Kern wrote: Mike Hansen wrote: Does anyone ha

Re: [Pythonmac-SIG] Some question about pyobjc and creating nib based application...

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 7:42 PM, whamoo wrote: On 04/gen/05, at 19:33, Bob Ippolito wrote: I've tried xcode template, but if I modify the AppDelegate nib and add the function in python file, it give me this error: Could not connect the action change_: to target of class provaDocument Did you actuall

Re: [Pythonmac-SIG] Some question about pyobjc and creating nib based application...

2005-01-04 Thread whamoo
On 04/gen/05, at 19:33, Bob Ippolito wrote: I've tried xcode template, but if I modify the AppDelegate nib and add the function in python file, it give me this error: Could not connect the action change_: to target of class provaDocument Did you actually write "change_:" as the selector? That's

Re: [Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 4:17 PM, Jack Jansen wrote: On 4-jan-05, at 14:42, Bob Ippolito wrote: On Jan 4, 2005, at 8:09 AM, Jack Jansen wrote: I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. It has some more features in Python 2.4, you can use it to add new build

Re: [Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Jack Jansen
On 4-jan-05, at 14:42, Bob Ippolito wrote: On Jan 4, 2005, at 8:09 AM, Jack Jansen wrote: I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. It has some more features in Python 2.4, you can use it to add new build command packages to distutils out-of-tree (like

[Pythonmac-SIG] Python 2.3->2.4 "compatibility" package for Mac OS X 10.2

2005-01-04 Thread Bob Swerdlow
Is there a Mac OS X 10.2-compatible installer for the Python 2.3->2.4 "compatibility" package? When I double-click on the package from http://undefined.org/python/Python23Compat.zip it tells me that Mac OS X 10.3 is required. Thanks! - Bob Swerdlow ___

Re: [Pythonmac-SIG] Some question about pyobjc and creating nib based application...

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 1:20 PM, whamoo wrote: Hello, There's somethings i cannot understand about creating nib based application, Ok I start interface builder, build gui, create outlet, create action, saving, create python file starting by the nib, and having a thing like this: -

[Pythonmac-SIG] Some question about pyobjc and creating nib based application...

2005-01-04 Thread whamoo
Hello, There's somethings i cannot understand about creating nib based application, Ok I start interface builder, build gui, create outlet, create action, saving, create python file starting by the nib, and having a thing like this: -- import objc fro

Re: [Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Ronald Oussoren
On 4-jan-05, at 14:51, Bob Ippolito wrote: On Jan 4, 2005, at 8:42 AM, Bob Ippolito wrote: On Jan 4, 2005, at 8:09 AM, Jack Jansen wrote: I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. It has some more features in Python 2.4, you can use it to add new build

Re: [Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 8:42 AM, Bob Ippolito wrote: On Jan 4, 2005, at 8:09 AM, Jack Jansen wrote: I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. It has some more features in Python 2.4, you can use it to add new build command packages to distutils out-of-tree

Re: [Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 8:09 AM, Jack Jansen wrote: I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. It has some more features in Python 2.4, you can use it to add new build command packages to distutils out-of-tree (like py2app, bdist_mpkg, etc.). Of course, ve

[Pythonmac-SIG] .pydistutils.cfg (was: pychecker)

2005-01-04 Thread Jack Jansen
Gosh, I'd never even heard of .pydistutils.cfg. I've added a note to the FAQ pointing to it. Then I looked at the distutils code, and noticed that there's also an optional distutils.cfg inside the package. So that made me wonder: we could install a symlink in /System/yaddayaddayadda/lib/python

Re: [Pythonmac-SIG] Re: [Python-Dev] Darwin's realloc(...) implementation never shrinks allocations

2005-01-04 Thread Bob Ippolito
On Jan 4, 2005, at 5:56 AM, Jack Jansen wrote: On 3 Jan 2005, at 23:40, Bob Ippolito wrote: Most people on Mac OS X have a lot of memory, and Mac OS X generally does a good job about swapping in and out without causing much of a problem, so I'm personally not very surprised that it could go unno

[Pythonmac-SIG] Re: [Python-Dev] Darwin's realloc(...) implementation never shrinks allocations

2005-01-04 Thread Jack Jansen
On 3 Jan 2005, at 23:40, Bob Ippolito wrote: Most people on Mac OS X have a lot of memory, and Mac OS X generally does a good job about swapping in and out without causing much of a problem, so I'm personally not very surprised that it could go unnoticed this long. *Except* when you're low on fr