[Python-ideas] Support Unicode code point notation

Steven D'Aprano steve at pearwood.info
Sun Jul 28 10:21:13 CEST 2013


On 28/07/13 17:41, Stephen J. Turnbull wrote:
>   > (Sorry, I have forgotten who made that suggestion originally.) That
>   > could be extended to allow multiple space-separated code points:
>   >
>   > \N{U+xxxx U+yyyy U+zzzzz}
>   >
>   > or
>   >
>   > \N{U+xxxx yyyy zzzzz}
>
> This is a modal encoding, which has proved to be a really bad idea in
> its past incarnations.  I hope that extension is never added to
> Python.

Could you elaborate please? What do you mean "modal encoding", and what past incarnations are you referring to?



-- 
Steven


More information about the Python-ideas mailing list