Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

>>> '\N{LATIN SMALL LETTER SHARP S}'
'ß'
>>> '\N{LATIN CAPITAL LETTER SHARP S}'
'ẞ'

The history of ß is complicated and differs in the Germany speaking countries 
of Austria, Switzerland and Germany, but the short version is that the 
uppercase version only became *officially* recognised by Germany in the 21st 
century, although it was unofficially in use back in the first half of the 20th 
century.

As far as I can tell, official German spelling rules still have uppercase of ß 
being SS, although that may be changing.

In any case, regardless of what the German, Austrian or Swiss German speakers 
do, Python will follow the Unicode rules, and that still has ß map to SS by 
default.

Any change in behaviour would have to be limited to Python 3.10 as 3.9 is in 
feature-freeze.

----------
nosy: +steven.daprano

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43221>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to