On python files, prevent Pop up menu from being crazy