Revert "Fix error in EPD when using Python from C"

This reverts commit 962d3b2d93dc74dbc93970dcb916e0146e856511.