def messageTypeNames():
 def typeNames():
  for types in registry.values():
   for typ in types:
    (yield typ.typeName)
 return set(typeNames())

def messageTypeNames ( ) : def typeNames ( ) : for types in registry . values ( ) : for typ in types : ( yield typ . typeName ) return set ( typeNames ( ) )
builds set of message type names .