Skip to content

bpo-47243: Duplicate entry in 'Objects/unicodetype_db.h' - #32376

Merged
miss-islington merged 4 commits into
python:mainfrom
LiarPrincess:Duplicate-entry-in-Objects-unicodetype_db.h
Sep 28, 2022
Merged

miss-islington merged 4 commits into
python:mainfrom
LiarPrincess:Duplicate-entry-in-Objects-unicodetype_db.h

Conversation

@LiarPrincess

@LiarPrincess LiarPrincess commented Apr 6, 2022 •

Copy link
Copy Markdown
Contributor

Fix for duplicate 1st entry in 'Objects/unicodetype_db.h':

/* 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

https://bugs.python.org/issue47243

Automerge-Triggered-By: GH:isidentical

@the-knights-who-say-ni

This comment was marked as outdated.

@LiarPrincess

Copy link
Copy Markdown
Contributor Author

CLA is signed, but there is this 'at least one business day before our records are updated'.

@bedevere-bot

Copy link
Copy Markdown

Every change to Python requires a NEWS entry.

Please, add it using the blurb_it Web app or the blurb command-line tool.

@LiarPrincess

Copy link
Copy Markdown
Contributor Author

NEWS entry added.

Issue after migration #91399.

@cfbolz

cfbolz commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

FWIW, this change looks correct to me (the original problem was a small miss-thought, I think).

@isidentical

Copy link
Copy Markdown
Member

@LiarPrincess can you regenerate the unicodedata (and then I think we can merge it in). Thanks @cfbolz for the review!

@miss-islington

Copy link
Copy Markdown
Contributor

Status check is done, and it's a success ✅.

@miss-islington
miss-islington merged commit 0c1d7a0 into python:main Sep 28, 2022
@isidentical

Copy link
Copy Markdown
Member

Thanks for the PR @LiarPrincess!

@LiarPrincess

Copy link
Copy Markdown
Contributor Author

Thanks for review.
Updated with main & regenerated 'unicodetype_db.h' with Unicode 15.0.

@LiarPrincess
LiarPrincess deleted the Duplicate-entry-in-Objects-unicodetype_db.h branch September 28, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

8 participants