Skip to content

Conversation

@shihai1991
Copy link
Member

@shihai1991shihai1991 commented Jan 19, 2020

Copy link
Contributor

@ncoghlanncoghlan left a comment

Choose a reason for hiding this comment

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

LGTM (given the relative simplicity of the module), but until I've reviewed a few more of these, I'd like to get a +1 from @encukou as well.

@encukou
Copy link
Member

The catch it that the simple module exposes complex API, and multiphase init asserts that the module is expected to support sub-interpreters. Any module that manipulates some registry should get some extra attention :)
All looks OK here, since thePyCodec_* functions all use interpreter-specific state.
@Dormouse759, do you want to take a look?

@encukouencukou changed the title bpo-1635741: Port _codecs extension module to multiphase initialization(PEP 489)bpo-1635741: Port _codecs extension module to multiphase initialization (PEP 489)Feb 11, 2020
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: Base branch was modified. Review and try the merge again..

@miss-islingtonmiss-islington merged commit 1ea45ae into python:masterFeb 11, 2020
@shihai1991
Copy link
MemberAuthor

Thanks, guys.

@encukou
Copy link
Member

Thank you!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@shihai1991@encukou@miss-islington@ncoghlan@the-knights-who-say-ni@bedevere-bot