title: Initialization of static/class lists/dictionaries in inner class(enum) in Python 3.5
body: <p>Is it possible to initialize a static/class dictionary in an inner enum class like other variables?</p>
  
  <pre><code># file Outer.py
  from enum import Enum
  class Outer:
      def callInner(self):
          all_a = Outer.Inner.ALL
          print(all_a) # prints Inner.ALL instead of the list
          all_b = Outer.Inner.ALL[:] # TypeError Inner is not subscriptable
  
          for e in all_a: #Inner is not iterable
              print(e.to_string())
  
      class Inner(Enum):
          A = 1
          B = 2
          ALL = [A,B]
          NAMES = {A : "some_name_other_than_enum_a_name",
                   B : "some_name_other_than_enum_b_name"}
  
          def to_string(self):
               return Outer.Inner.NAMES[self.value]
  
  if __name__ == '__main__':
      o = Outer()
      o.callInner()
  </code></pre>
  
  <p>The class <code>Outer</code> is the module with all the logic. The class <code>Inner</code> is an enum which does contain the enum key-value pairs <code>A=1</code>and <code>B=2</code> as well as a list of all possible enums (or any interesting subset thereof). The idea is to have a list for quick reference and iteration/enumeration over those while to_string could be an arbritray method containing any logic. The name lookup is just a simplification to make the problem clear.</p>