A pure Python paste implementation