def _report_unknown_attribute(name):
 logging.error('unknown Cookie attribute: %r', name)

def _report_unknown_attribute ( name ) : logging . error ( 'unknown Cookie attribute: %r' , name )
how this module logs an unknown attribute when exception suppressed .