9,177 karma · joined November 2, 2015
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||Alternative microblogging services are not of any help to me, because nobody (that I wanted to read) posts there.
https://github.com/python/cpython/commit/7e109d084d55e7eb
The important part is:
# B.3 is mostly Python's .lower, except for a number
# of special cases, e.g. considering canonical forms.
+# To enforce Unicode 3.2.0 behavior of .lower instead of
+# whatever Unicode version is included with Python we
+# add unassigned or newly case-folding codepoints to
+# the exception map, too.
b3_exceptions = {}
for k,v in table_b2.items():
if list(map(ord, chr(k).lower())) != v:
b3_exceptions[k] = "".join(map(chr,v))
+for cp in range(0x110000):
+ ch = chr(cp)
+ # Assigned in current Unicode version
+ # and supports case folding, but not
+ # explicitly in B.2 or B.3 tables.
+ if (unicodedata_current.category(ch) != "Cn"
+ and ch.lower() != ch
+ and cp not in table_b2
+ and cp not in table_b3):
+ b3_exceptions[cp] = ch # Identity.https://news.ycombinator.com/item?id=28157117 (34 comments)
Please submit the original source. If a post reports on something found on another site, submit the latter.
https://news.ycombinator.com/item?id=48425528 (over 300 comments)
APT does not verify package-level signatures (and nobody uses them anyway), so this is irrelevant.
> Please don't comment on whether someone read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that".
https://github.com/jwilk/unfaithful-less
It seems at least some versions of bat have the same problem, but I didn't look into the details.
>>> '{:{}{}}'.format('m', 'o<2', 3)
'moooooooooooooooooooooo'Hyenas are not canids; they are feliformia ("cat-like" carnivorans).
Discussed in 2017: https://news.ycombinator.com/item?id=16002444 (5 comments)