#NEWLINE# def ab_person_to_dict( person , skip = None ) : #NEWLINE# #INDENT# _default_skip_properties = frozenset ( ( 'com.apple.ABPersonMeProperty' , 'com.apple.ABImageData' ) ) #NEWLINE# skip = ( _default_skip_properties if ( skip is None ) else frozenset ( skip ) ) #NEWLINE# props = person . allProperties ( ) #NEWLINE# return { prop . lower ( ) : pythonize ( person . valueForProperty_ ( prop ) ) for prop in props if ( prop not in skip ) }