Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-36346: Make using the legacy Unicode C API optional#21437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedJul 10, 2020
edited by bedevere-bot
Loading

Do not use the legacy Unicode C API which depends on the wchar_t* cache if USE_UNICODE_WCHAR_CACHE is defined as false.

It can help to test in advance the effect of removing the wchar_t* cache.

https://bugs.python.org/issue36346

Add two compile time options: HAVE_UNICODE_WCHAR_CACHE andUSE_UNICODE_WCHAR_CACHE.USE_UNICODE_WCHAR_CACHE makes the interpreter not using thewchar_t cache and the legacy Unicode C API.HAVE_UNICODE_WCHAR_CACHE removes the wchar_t cache and thelegacy Unicode C API that depends on it.
@serhiy-storchakaserhiy-storchaka merged commit4c8f09d intopython:masterJul 10, 2020
@serhiy-storchakaserhiy-storchaka deleted the do-not-use-wchar-cache branchJuly 10, 2020 20:26
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull requestAug 20, 2020
Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0makes the interpreter not using the wchar_t cache and the legacy Unicode C API.
xzy3 pushed a commit to xzy3/cpython that referenced this pull requestOct 18, 2020
Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0makes the interpreter not using the wchar_t cache and the legacy Unicode C API.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@rhettingerrhettingerAwaiting requested review from rhettinger

@skrahskrahAwaiting requested review from skrah

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@serhiy-storchaka@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp