for every v in list_ append to a list result of the function encode, called with arguments: k and result of the function force_bytes,
output . extend ( [ encode ( k , force_bytes ( v , self . encoding ) ) for v in list_ ] )