[Pythonmac-SIG] Mac OS X native DNS lookups

2010-11-02 Thread James Mills
Hi, Been looking around the web for how you might resolve hostnames on Mac OS X using OS X's sys calls to do so. Can anyone shed any light on this ? cheers James -- -- James Mills -- -- "Problems are solved by method" ___ Pythonm

Re: [Pythonmac-SIG] Mac OS X native DNS lookups

2010-11-02 Thread James Mills
e (example: unplug the wire, turn on the wireless) this method of resolving names isn't able to tell that the dns servers have changed quickly enough. On Windows we've solved this by hooking into win32 calls (windns I believe) and using ctypes. We're af

Re: [Pythonmac-SIG] Mac OS X native DNS lookups

2010-11-02 Thread James Mills
Mac (10.6.4) cheers James -- -- James Mills -- -- "Problems are solved by method" ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] pyobjc-framework-ScreenSaver-2.3 fails to install

2010-11-02 Thread James Mills
rror: for each function it appears in.) Modules/_ScreenSaver_inlines.m:25: warning: passing argument 3 of 'PyModule_AddObject' makes pointer from integer without a cast Modules/_ScreenSaver_inlines.m:29: warning: implicit declaration of function 'PyObjC_INITDONE' lipo: can'