Message 93562 - Python tracker (original) (raw)
Surrogates aren't optional features of UTF-16, we really need to get this fixed. That includes .isalpha().
We might keep the old public API for compatibility, but it should be clearly marked as broken for non-BMP scalar values.
I don't see a problem with changing 2.x. The existing behaviour is broken for non-BMP scalar values, so surely nobody can claim dependence on it.