Re: [Pythonmac-SIG] question about garbage collection with NSApplication.run()

2009-06-01 Thread Bill Janssen
Thanks, Ronald. Bill Ronald Oussoren wrote: > > On 31 May, 2009, at 20:34, Bill Janssen wrote: > > > I'm writing a Python program that has a main that looks like this: > > > >application = NSApplication.sharedApplication() > > > ># set up handler for network change notificati

Re: [Pythonmac-SIG] question about garbage collection with NSApplication.run()

2009-05-31 Thread Ronald Oussoren
On 31 May, 2009, at 20:34, Bill Janssen wrote: I'm writing a Python program that has a main that looks like this: application = NSApplication.sharedApplication() # set up handler for network change notification SCDynamicStoreSetNotificationKeys(DYNSTORE, None, [NETWORK_

[Pythonmac-SIG] question about garbage collection with NSApplication.run()

2009-05-31 Thread Bill Janssen
I'm writing a Python program that has a main that looks like this: application = NSApplication.sharedApplication() # set up handler for network change notification SCDynamicStoreSetNotificationKeys(DYNSTORE, None, [NETWORK_KEY,]) # Get a CFRunLoopSource for our sto