Re: [Pyobjc-dev] ObjC exceptions, Python exceptions, the event loop
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-01-18 15:47:02
|
On Saturday, Jan 18, 2003, at 09:48 US/Eastern, Just van Rossum wrote: > It's extremely rude what NSApplicationMain does, a finally clause as > below will _only_ be called if there was an exception: > > try: > sys.exit(AppKit.NSApplicationMain(sys.argv)) > finally: > print "XXX exiting!" > > Blech! One for the phrase book... I have ammended my already filed bug regarding NSApplicationMain()'s behavior regarding its arguments. The damned function should be declared as: void NSApplicationMain(void); b.bum |