Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

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
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
caec551
Drop outdated whitelist entries.
ericsnowcurrentlyNov 15, 2022
f6b90ee
Move make_pending_calls():busy to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
a6be5a3
Move urandom_cache to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
fb33ede
Move float_format/double_format to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
bd1a66d
Special-case the hash secret.
ericsnowcurrentlyNov 15, 2022
1da0a33
Re-organize the ingored list.
ericsnowcurrentlyNov 15, 2022
03481e2
Drop an old global from the ingored list.
ericsnowcurrentlyNov 15, 2022
e50ea07
Only initialize bloom_linebreak once in the process.
ericsnowcurrentlyNov 15, 2022
a55e26a
Clarify an ignore list header.
ericsnowcurrentlyNov 15, 2022
fd3ec40
Move memo_statistics to the ignored list.
ericsnowcurrentlyNov 15, 2022
d04d9da
runtime.unicode_ids -> runtime.unicode_state.ids.
ericsnowcurrentlyNov 15, 2022
4e13ded
Move force_ascii to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
e8ad283
Move _Py_PackageContext to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
22135f7
Move _Py_FatalErrorFormat():reentrant to the ignored list.
ericsnowcurrentlyNov 15, 2022
426b34e
Move PyFPE_counter to the ignored list.
ericsnowcurrentlyNov 15, 2022
ffdd34a
Move _Py_UnhandledKeyboardInterrupt to _PyRuntimeState.
ericsnowcurrentlyNov 15, 2022
248a69c
Fix pyhash_runtime_state on Windows.
ericsnowcurrentlyNov 15, 2022
a4a55d1
Fix pyhash_runtime_state on Windows.
ericsnowcurrentlyNov 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Special-case the hash secret.
  • Loading branch information
@ericsnowcurrently
ericsnowcurrently committedNov 15, 2022
commitbd1a66df4baef02289691c90cfa80e85dd2bbddb
7 changes: 5 additions & 2 deletionsTools/c-analyzer/cpython/ignored.tsv
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,7 +50,6 @@ Python/getversion.c-version-

Objects/unicodeobject.c-bloom_linebreak-
Python/bootstrap_hash.cpy_getrandomgetrandom_works-
Python/bootstrap_hash.c-_Py_HashSecret_Initialized-
Python/fileutils.c-_Py_open_cloexec_works-
Python/fileutils.c-force_ascii-
Python/fileutils.cset_inheritableioctl_works-
Expand All@@ -60,14 +59,18 @@ Python/preconfig.c-Py_FileSystemDefaultEncoding-
Python/preconfig.c-Py_HasFileSystemDefaultEncoding-
Python/preconfig.c-Py_FileSystemDefaultEncodeErrors-
Python/preconfig.c-_Py_HasFileSystemDefaultEncodeErrors-
Python/pyhash.c-_Py_HashSecret-
Python/pylifecycle.c-runtime_initialized-
Python/sysmodule.c-_preinit_warnoptions-
Python/sysmodule.c-_preinit_xoptions-
Python/thread.c-initialized-
Python/thread_pthread.h-condattr_monotonic-
Python/thread_pthread.hinit_condattrca-

# set during the first init and preserved thread later init
# (treated like a process-global resource)
Python/bootstrap_hash.c-_Py_HashSecret_Initialized-
Python/pyhash.c-_Py_HashSecret-

# set by embedders during init
Python/initconfig.c-_Py_StandardStreamEncoding-
Python/initconfig.c-_Py_StandardStreamErrors-
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp