bpo-30860: Consolidate stateful runtime globals.#2594
Conversation
|
An obvious nit: there are a lot of lines that are longer than 79 chars. Those will need to be fixed per PEP 7. |
Sorry, something went wrong.
|
FYI, there are test failures in test_capi, test_warnings, and test_tracemalloc. I'll address those tomorrow, but I expect the fixes won't require many changes. |
Sorry, something went wrong.
ncoghlan
left a comment
There was a problem hiding this comment.
I still like the general idea, but the way the struct definitions are currently handling Py_BUILD_CORE doesn't look right to me.
Sorry, something went wrong.
4d9153f to
d2d58ef
Compare
July 11, 2017 20:33
|
@zooba, any thoughts on the Windows build failure here? I'm sure it's something trivial. |
Sorry, something went wrong.
|
@ericsnowcurrently Not sure that |
Sorry, something went wrong.
f542368 to
6a1f47d
Compare
July 17, 2017 18:34
|
FYI, the _Py_CheckRecursionLimit change causes a performance regression on the pickle_list and pickle_dict benchmarks. When I get a chance I'll look into it. |
Sorry, something went wrong.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
Sorry, something went wrong.
1310d92 to
04e604a
Compare
September 5, 2017 21:12
gpshead
left a comment
There was a problem hiding this comment.
overall, awesome refactoring and great analysis of the global state!
Sorry, something went wrong.
This reverts commit 76d5abc.
* 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).
Other globals are excluded (see globals.txt and check-c-globals.py).
https://bugs.python.org/issue30860