'make distclean' doesn't remove .pyc files for waf itself After a build or distclean, the following files are left behind: buildtools/wafsamba/*.pyc buildtools/wafadmin/*.pyc buildtools/wafadmin/Tools/*.pyc
This is now buildtools/wafsamba/__pycache__ third_party/waf/waflib/__pycache__/ third_party/waf/waflib/extras/__pycache__/ third_party/waf/waflib/Tools/__pycache__/