Compositions of polyamides obtained by reactions forming a carboxylic amide link in the main chain Compositions of derivatives of such polymers