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

GH-92123: Store _elementtree state in type contexts#101190

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

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commentedJan 20, 2023
edited
Loading

@erlend-aasland

This comment was marked as outdated.

@erlend-aaslanderlend-aaslandforce-pushed theetree/state-as-type-context-member branch fromb1127be tob2698e2CompareJanuary 21, 2023 11:32
@erlend-aaslanderlend-aaslandforce-pushed theetree/state-as-type-context-member branch from007ccb5 to4f0f2ffCompareJanuary 22, 2023 11:43
@erlend-aasland
Copy link
ContributorAuthor

How about this: we store state in the type context for the TreeBuilder and XMLParser. The state pointer should be valid throughout the lifetime of the heap type, since each heap type has a reference to its module. After landing this, I'll rebase#101189 ontomain.

cc.@kumaraditya303,@arhadthedev

Copy link
Contributor

@kumaraditya303kumaraditya303 left a comment

Choose a reason for hiding this comment

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

LGTM

erlend-aasland reacted with thumbs up emoji
@erlend-aaslanderlend-aasland merged commit984387f intopython:mainJan 23, 2023
@erlend-aaslanderlend-aasland deleted the etree/state-as-type-context-member branchJanuary 23, 2023 12:20
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@kumaraditya303kumaraditya303kumaraditya303 approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@erlend-aasland@kumaraditya303@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp