def _apply_pax_info(self, pax_headers, encoding, errors):
for keyword, value in pax_headers.items():<EOL><INDENT>if keyword == "<STR_LIT>":<EOL><INDENT>setattr(self, "<STR_LIT:path>", value)<EOL><DEDENT>elif keyword == "<STR_LIT>":<EOL><INDENT>setattr(self, "<STR_LIT:size>", int(value))<EOL><DEDENT>elif keyword == "<STR_LIT>":<EOL><INDENT>setattr(self, "<STR_LIT:size>", int(value))<EOL><DEDENT>elif keyword in PAX_FIELDS:<EOL><INDENT>if keyword in PAX_NUMBER_FIELDS:<EOL><INDENT>try:<EOL><INDENT>value = PAX_NUMBER_FIELDS[keyword](value)<EOL><DEDENT>except ValueError:<EOL><INDENT>value = <NUM_LIT:0><EOL><DEDENT><DEDENT>if keyword == "<STR_LIT:path>":<EOL><INDENT>value = value.rstrip("<STR_LIT:/>")<EOL><DEDENT>setattr(self, keyword, value)<EOL><DEDENT><DEDENT>self.pax_headers = pax_headers.copy()<EOL>
Replace fields with supplemental information from a previous
           pax extended or global header.