[Python-checkins] peps: Add character accessor functions, and put representation-independent functions