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

[3.12] gh-80527: Change support.requires_legacy_unicode_capi() (GH-108438)#108446

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
Yhg1s merged 1 commit intopython:3.12frommiss-islington:backport-995f4c4-3.12
Aug 25, 2023

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedAug 24, 2023
edited by bedevere-bot
Loading

The decorator now requires to be called with parenthesis:

@support.requires_legacy_unicode_capi()

instead of:

@support.requires_legacy_unicode_capi

The implementation now only imports _testcapi when the decorator is
called, so "import test.support" no longer imports the _testcapi
extension.
(cherry picked from commit995f4c4)

Co-authored-by: Victor Stinnervstinner@python.org

…GH-108438)The decorator now requires to be called with parenthesis:    @support.requires_legacy_unicode_capi()instead of:    @support.requires_legacy_unicode_capiThe implementation now only imports _testcapi when the decorator iscalled, so "import test.support" no longer imports the _testcapiextension.(cherry picked from commit995f4c4)Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, good bot

@rhettingerrhettinger removed their request for reviewAugust 25, 2023 04:48
@Yhg1sYhg1s merged commit0eb6d87 intopython:3.12Aug 25, 2023
@miss-islingtonmiss-islington deleted the backport-995f4c4-3.12 branchAugust 25, 2023 16:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@vstinner@Yhg1s@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp