code: def attach_const_node(node, name, value):
      
      if name not in node.special_attributes:
          _attach_local_node(node, nodes.const_factory(value), name)
docs: create a Const node and register it in the locals of the given
      node with the specified name