Skip to content

Commit 9a86dd3

Browse files
Move dup3_works to the ignored list.
1 parent fe6e8d2 commit 9a86dd3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Tools/c-analyzer/cpython/globals-to-fix.tsv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ Modules/faulthandler.c - old_stack -
390390
##-----------------------
391391
## initialized once
392392

393-
Modules/posixmodule.c os_dup2_impl dup3_works -
394393
Modules/posixmodule.c - structseq_new -
395394
Modules/posixmodule.c - ticks_per_second -
396395
Modules/timemodule.c _PyTime_GetClockWithInfo initialized -

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ filename funcname name reason
1111
# These are effectively const.
1212

1313
##-----------------------
14-
## process-global resources - set during first init
14+
## process-global resources
1515

1616
## indicators for resource availability/capability
17+
# (set during first init)
1718
Python/bootstrap_hash.c py_getrandom getrandom_works -
1819
Python/fileutils.c - _Py_open_cloexec_works -
1920
Python/fileutils.c set_inheritable ioctl_works -
21+
# (set lazily, *after* first init)
22+
# XXX Is this thread-safe?
23+
Modules/posixmodule.c os_dup2_impl dup3_works -
2024

21-
## resource init
25+
## resource init - set during first init
2226
Python/thread.c - initialized -
2327
Python/thread_pthread.h - condattr_monotonic -
2428
# safe static buffer used during one-time initialization

0 commit comments

Comments
 (0)