[Pyobjc-dev] Re: breakage in CVS?
Brought to you by:
ronaldoussoren
From: Michael H. <mw...@py...> - 2003-08-28 16:45:28
|
Zeph Campbell <ze...@ho...> writes: >> Just van Rossum <ju...@le...> writes: >> >>> Michael Hudson wrote: >>> >>> It's AppKit.NSMakePoint()... But: why use it to begin with? >>> NSPoints are >>> represented as 2-tuples. >> >> I can see that... I don't even want to use NSMakePoint, but being able >> to import AppKit would be a bonus! > > As a noob to PyObjC, I had to find out the hard way what was and was > not included, and I guess the rule of thumb is that if it can be > expressed as a tuple, there's no reason to have a function just to > spit out the equivelent struct. I seem to be causing some confusion here. I do not care a jot whether NSMakePoint is defined in Foundation, AppKit or not at all. However, in the version of PyObjC I checked out today, when you import AppKit, *AppKit/__init__.py* tries to import NSMakePoint and friends from Foundation -- and fails. I'm not asking for someone to help, I'm asking for someone to fix it! Maybe Ronald missed a file in a check in? That's what it looks like to me. Cheers, mwh -- SPIDER: 'Scuse me. [scuttles off] ZAPHOD: One huge spider. FORD: Polite though. -- The Hitch-Hikers Guide to the Galaxy, Episode 11 |