modes: python: Support versioned Python interpreters