[core][py] useless imports