Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-81057: Move More Globals in Core Code to _PyRuntimeState#99516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ericsnowcurrently merged 18 commits intopython:mainfromericsnowcurrently:consolidate-core-globals-2Nov 16, 2022
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
18 commits Select commitHold shift + click to select a range
caec551 Drop outdated whitelist entries.
ericsnowcurrentlyf6b90ee Move make_pending_calls():busy to _PyRuntimeState.
ericsnowcurrentlya6be5a3 Move urandom_cache to _PyRuntimeState.
ericsnowcurrentlyfb33ede Move float_format/double_format to _PyRuntimeState.
ericsnowcurrentlybd1a66d Special-case the hash secret.
ericsnowcurrently1da0a33 Re-organize the ingored list.
ericsnowcurrently03481e2 Drop an old global from the ingored list.
ericsnowcurrentlye50ea07 Only initialize bloom_linebreak once in the process.
ericsnowcurrentlya55e26a Clarify an ignore list header.
ericsnowcurrentlyfd3ec40 Move memo_statistics to the ignored list.
ericsnowcurrentlyd04d9da runtime.unicode_ids -> runtime.unicode_state.ids.
ericsnowcurrently4e13ded Move force_ascii to _PyRuntimeState.
ericsnowcurrentlye8ad283 Move _Py_PackageContext to _PyRuntimeState.
ericsnowcurrently22135f7 Move _Py_FatalErrorFormat():reentrant to the ignored list.
ericsnowcurrently426b34e Move PyFPE_counter to the ignored list.
ericsnowcurrentlyffdd34a Move _Py_UnhandledKeyboardInterrupt to _PyRuntimeState.
ericsnowcurrently248a69c Fix pyhash_runtime_state on Windows.
ericsnowcurrentlya4a55d1 Fix pyhash_runtime_state on Windows.
ericsnowcurrentlyFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Move float_format/double_format to _PyRuntimeState.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitfb33edeffd47e6aa811bc89bd9d08e162c32246a
There are no files selected for viewing
12 changes: 12 additions & 0 deletionsInclude/internal/pycore_floatobject.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
27 changes: 17 additions & 10 deletionsObjects/floatobject.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.