#NEWLINE# def _BaseCookie__set( self , key , real_value , coded_value ) : #NEWLINE# #INDENT# key = force_str ( key ) #NEWLINE# try : #NEWLINE# #INDENT# M = self . get ( key , Morsel ( ) ) #NEWLINE# M . set ( key , real_value , coded_value ) #NEWLINE# dict . __setitem__ ( self , key , M ) #NEWLINE# #UNINDENT# except http_cookies . CookieError : #NEWLINE# #INDENT# self . bad_cookies . add ( key ) #NEWLINE# dict . __setitem__ ( self , key , http_cookies . Morsel ( ) )