def gen_list_name():
 for name in _LIST_NAMES:
  (yield name)
 counter = itertools.count(1000)
 while True:
  (yield (b(str(next(counter))) + '\x00'))

def gen_list_name ( ) : for name in _LIST_NAMES : ( yield name ) counter = itertools . count ( 1000 ) while True : ( yield ( b ( str ( next ( counter ) ) ) + '\x00' ) )
generate "keys" for encoded lists in the sequence b"0" .