◐ Shell
clean mode source ↗

bpo-40268: Add _PyInterpreterState_GetConfig() by vstinner · Pull Request #19492 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Merged

vstinner

merged 2 commits into

python:masterfrom

vstinner:getconfig

Apr 13, 2020

Merged

bpo-40268: Add _PyInterpreterState_GetConfig()#19492

vstinner

merged 2 commits into

python:masterfrom

vstinner:getconfig

Conversation

@vstinner

@vstinner vstinner commented

Apr 13, 2020

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

Don't access PyInterpreterState.config member directly anymore, but
use new functions:

  • _PyInterpreterState_GetConfig()
  • _PyInterpreterState_SetConfig()
  • _Py_GetConfig()

Remove a few pycore_pystate.h includes.

https://bugs.python.org/issue40268

Don't access PyInterpreterState.config member directly anymore, but
use new functions:

* _PyInterpreterState_GetConfig()
* _PyInterpreterState_SetConfig()
* _Py_GetConfig()

Remove a few pycore_pystate.h includes.

@vstinner vstinner merged commit da7933e into python:master

Apr 13, 2020

@vstinner vstinner deleted the getconfig branch

April 13, 2020 01:04

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

Reviewers

@brettcannon brettcannon Awaiting requested review from brettcannon

@encukou encukou Awaiting requested review from encukou

@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently

@ncoghlan ncoghlan Awaiting requested review from ncoghlan

@warsaw warsaw Awaiting requested review from warsaw

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot