mirror of
https://github.com/python/cpython
synced 2024-09-06 04:23:35 +00:00
bpo-47243: Duplicate entry in 'Objects/unicodetype_db.h' (GH-32376)
Fix for duplicate 1st entry in 'Objects/unicodetype_db.h': ```c /* a list of unique character type descriptors */ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, <--- HERE {0, 0, 0, 0, 0, 32}, {0, 0, 0, 0, 0, 48}, … ``` https://bugs.python.org/issue47243 Automerge-Triggered-By: GH:isidentical
This commit is contained in:
parent
5c110d1126
commit
0c1d7a06ed
|
@ -0,0 +1 @@
|
|||
Removed duplicate '{0, 0, 0, 0, 0, 0}' entry in 'Objects/unicodetype_db.h'.
|
4520
Objects/unicodetype_db.h
generated
4520
Objects/unicodetype_db.h
generated
File diff suppressed because it is too large
Load diff
|
@ -417,7 +417,7 @@ def makeunicodetype(unicode, trace):
|
|||
# extract unicode types
|
||||
dummy = (0, 0, 0, 0, 0, 0)
|
||||
table = [dummy]
|
||||
cache = {0: dummy}
|
||||
cache = {dummy: 0}
|
||||
index = [0] * len(unicode.chars)
|
||||
numeric = {}
|
||||
spaces = []
|
||||
|
|
Loading…
Reference in a new issue