Swimming-pool and whirpool pumps