Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Jan 20, 2023

@erlend-aasland

This comment was marked as outdated.

@erlend-aaslanderlend-aaslandforce-pushed the etree/state-as-type-context-member branch from b1127be to b2698e2CompareJanuary 21, 2023 11:32
@erlend-aaslanderlend-aaslandforce-pushed the etree/state-as-type-context-member branch from 007ccb5 to 4f0f2ffCompareJanuary 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 onto main.

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-aaslanderlend-aasland merged commit 984387f into python:mainJan 23, 2023
@erlend-aaslanderlend-aasland deleted the etree/state-as-type-context-member branch January 23, 2023 12:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@erlend-aasland@kumaraditya303@bedevere-bot