The Guareschi Thorpe synthesis prepares 2-pyridones from cyanoacetamide as the nitrogenous component, together with a 1,3-diketone or 3-ketoester.