◐ Shell
reader mode source ↗
Skip to content

bpo-30860: Consolidate stateful runtime globals.#3397

Merged
ericsnowcurrently merged 94 commits into
python:masterfrom
ericsnowcurrently:interp-globals
Sep 8, 2017
Merged

bpo-30860: Consolidate stateful runtime globals.#3397
ericsnowcurrently merged 94 commits into
python:masterfrom
ericsnowcurrently:interp-globals

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Sep 6, 2017

Copy link
Copy Markdown
Member

(trying again; see #2594)

  • group the (stateful) runtime globals into various topical structs
  • consolidate the topical structs under a single top-level _PyRuntimeState struct
  • add a check-c-globals.py script that helps identify runtime globals

Other globals are excluded (see globals.txt and check-c-globals.py).

https://bugs.python.org/issue30860

64 hidden items Load more…
@ericsnowcurrently ericsnowcurrently merged commit 2ebc5ce into python:master Sep 8, 2017
ma8ma added a commit to ma8ma/cpython that referenced this pull request Sep 9, 2017
Resolve conflicts:
2ebc5ce bpo-30860: Consolidate stateful runtime globals. (python#3397)
ericsnowcurrently added a commit that referenced this pull request Sep 12, 2017
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
@Mariatta Mariatta removed the label Oct 8, 2017
Sign up for free to 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