<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _push_forever_keys(self, namespace, key):
 """ Store a copy of the full key for each namespace segment. :type namespace: str :type key: str """

        full_key = '%s%s:%s' % (self.get_prefix(),
                                hashlib.sha1(encode(self._tags.get_namespace())).hexdigest(),
                                key)

        for segment in namespace.split('|'):
            self._store.connection().lpush(self._forever_key(segment), full_key)