[Python-checkins] bpo-31045: Language switch (#2652) (#3023)