parameters: (package)
return_statement: return specs, failures
docstring: List all messages that a package contains.
      
      @param package: package to load messages from
      @type  package: str
      @return: list of message type names and specs for package, as well as a list
          of message names that could not be processed. 
      @rtype: [(str, L{MsgSpec}), [str]]
docstring_summary: List all messages that a package contains.
docstring_tokens: List all messages that a package contains .
function: def get_pkg_msg_specs(package):
      """
      List all messages that a package contains.
      
      @param package: package to load messages from
      @type  package: str
      @return: list of message type names and specs for package, as well as a list
          of message names that could not be processed. 
      @rtype: [(str, L{MsgSpec}), [str]]
      """
      _init()
      types = list_msg_types(package, False)
      specs = [] #no fancy list comprehension as we want to show errors
      failures = []
      for t in types:
          try: 
              typespec = load_from_file(msg_file(package, t), package)
              specs.append(typespec)
          except Exception as e:
              failures.append(t)
              print("ERROR: unable to load %s, %s"%(t, e))
      return specs, failures
function_tokens: def get_pkg_msg_specs ( package ) : _init ( ) types = list_msg_types ( package , False ) specs = [ ] #no fancy list comprehension as we want to show errors failures = [ ] for t in types : try : typespec = load_from_file ( msg_file ( package , t ) , package ) specs . append ( typespec ) except Exception as e : failures . append ( t ) print ( "ERROR: unable to load %s, %s" % ( t , e ) ) return specs , failures