Re: Formatted Integer With Specified Number Of Digits

2025-10-19 Thread songbird
Lawrence D’Oliveiro wrote: > Formatting an integer with 3 digits, excluding base specifier: > > >>> "%#0.3x" % 2 > '0x002' > > No equivalent to this in any of the other ways that Python allows for > formatting: > > >>> format(2, "#03x") > '0x2' > > (Not what I want) > > >>>

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-19 Thread Chris Angelico via Python-list
On Mon, 20 Oct 2025 at 02:01, wrote: > > Thanks again for your detailed reply — I really appreciate it. I have to > admit, I wasn’t 100% sure about my data, which is why I submitted it for > discussion before opening a bug report to the Python developers. > Don't. Don't open a discussion based

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-19 Thread python
Thanks again for your detailed reply — I really appreciate it. I have to admit, I wasn’t 100% sure about my data, which is why I submitted it for discussion before opening a bug report to the Python developers. I alredy checked Unicode tables, I saw that the capital ß (U+1E9E) was already encod