#NEWLINE# def picklers( ) : #NEWLINE# #INDENT# picklers = set ( ) #NEWLINE# if py2k : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# import cPickle #NEWLINE# picklers . add ( cPickle ) #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# import pickle #NEWLINE# picklers . add ( pickle ) #NEWLINE# for pickle_ in picklers : #NEWLINE# #INDENT# for protocol in ( ( - 1 ) , 0 , 1 , 2 ) : #NEWLINE# #INDENT# ( yield ( picklers . loads , ( lambda d : pickle_ . dumps ( d , protocol ) ) ) )