def __postNotification(notificationName, message): pool = Foundation.NSAutoreleasePool.alloc().init() nc = Foundation.NSDistributedNotificationCenter.defaultCenter() nc.postNotificationName_object_(notificationName, message) del pool