[PD] pyext and canvas_getcurrentdir()