Re: [Pyobjc-dev] PyObjC and OSX versions
Brought to you by:
ronaldoussoren
From: Aahz <aa...@py...> - 2010-04-03 13:41:26
|
On Thu, Apr 01, 2010, Ronald Oussoren wrote: > > W.r.t. 10.4 support in general: I'd say that it is more worthwhile to > work on porting PyObjC 2.2 to 10.4 than to try to create a workflow > using both PyObjC 1.4 and 2.2. For the most part this entails adding > #ifdef guards in the C modules to ensure that the wrappers for APIs > that aren't available on 10.4 get excluded from the build when > building using the 10.4 SDK. That still means it's going to be tricky writing an app that uses FSEvents on 10.5+ that works without FSEvents on 10.4 -- instead of maintaining separate installs of PyObjC 1.4 and 2.2, I'll need to have separate installs of 2.2 and 2.2, and keeping track of which is which will be more difficult. Perhaps I'm missing something? Would it be possible to build PyObjC 2.2 on 10.5 in a way that works on 10.4, just with FSEvents disabled? There's a reasonably good chance we're going to switch to kauth due to FSEvents' limitations, which would sidestep the issue another way. Does anyone have any experience using kauth? Before someone asks, kqueue is not sufficient for our needs (monitoring directory systems that might have a million files), and pnotify has languished for so long without update that I'm not willing to take a chance with it. I think that pretty much exhausts the available options. -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ Why is this newsgroup different from all other newsgroups? |