python: self enabled def for make