#NEWLINE# def __getstate__( self ) : #NEWLINE# #INDENT# assert_spawning ( self ) #NEWLINE# r = self . _reader . _semlock #NEWLINE# w = self . _writer . _semlock #NEWLINE# reader = ( Popen . duplicate_for_child ( r . handle ) , r . kind , r . maxvalue ) #NEWLINE# writer = ( Popen . duplicate_for_child ( w . handle ) , writer . kind , w . maxvalue ) #NEWLINE# return ( reader , writer )