File tree Expand file tree Collapse file tree 29 files changed +29
-29
lines changed Expand file tree Collapse file tree 29 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 5
5
#include "pycore_moduleobject.h" // _PyModule_GetState()
6
6
#include "pycore_pyatomic_ft_wrappers.h"
7
7
#include "pycore_typeobject.h" // _PyType_GetModuleState()
8
- #include "pycore_weakref.h"
8
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
9
9
10
10
#include <stddef.h>
11
11
Original file line number Diff line number Diff line change 17
17
18
18
#include "Python.h"
19
19
#include "pycore_pyhash.h" // _Py_HashSecret
20
- #include "pycore_weakref.h"
20
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
21
21
22
22
#include <stddef.h> // offsetof()
23
23
#include "expat.h"
Original file line number Diff line number Diff line change 7
7
#include "pycore_pyatomic_ft_wrappers.h"
8
8
#include "pycore_pystate.h" // _PyThreadState_GET()
9
9
#include "pycore_tuple.h" // _PyTuple_ITEMS()
10
- #include "pycore_weakref.h"
10
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
11
11
12
12
13
13
#include "clinic/_functoolsmodule.c.h"
Original file line number Diff line number Diff line change 13
13
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
14
14
#include "pycore_pyerrors.h" // _Py_FatalErrorFormat()
15
15
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
16
- #include "pycore_weakref.h"
16
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
17
17
18
18
#include "_iomodule.h"
19
19
Original file line number Diff line number Diff line change 3
3
#include "pycore_object.h"
4
4
#include "pycore_pyatomic_ft_wrappers.h"
5
5
#include "pycore_sysmodule.h" // _PySys_GetSizeOf()
6
- #include "pycore_weakref.h"
6
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
7
7
8
8
#include <stddef.h> // offsetof()
9
9
#include "_iomodule.h"
Original file line number Diff line number Diff line change 4
4
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
5
5
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
6
6
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
7
- #include "pycore_weakref.h"
7
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
8
8
9
9
#include <stdbool.h> // bool
10
10
#ifdef HAVE_UNISTD_H
Original file line number Diff line number Diff line change 14
14
#include "pycore_long.h" // _PyLong_GetOne()
15
15
#include "pycore_object.h" // _PyType_HasFeature()
16
16
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
17
- #include "pycore_weakref.h"
17
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
18
18
19
19
#include <stddef.h> // offsetof()
20
20
#include "_iomodule.h"
Original file line number Diff line number Diff line change 1
1
#include "Python.h"
2
2
#include <stddef.h> // offsetof()
3
3
#include "pycore_object.h"
4
- #include "pycore_weakref.h"
4
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
5
5
#include "_iomodule.h"
6
6
7
7
/* Implementation note: the buffer is always at least one character longer
Original file line number Diff line number Diff line change 16
16
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
17
17
#include "pycore_pystate.h" // _PyInterpreterState_GET()
18
18
#include "pycore_unicodeobject.h" // _PyUnicode_AsASCIIString()
19
- #include "pycore_weakref.h"
19
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
20
20
21
21
#include "_iomodule.h"
22
22
Original file line number Diff line number Diff line change 10
10
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
11
11
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
12
12
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
13
- #include "pycore_weakref.h"
13
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
14
14
15
15
#ifdef HAVE_WINDOWS_CONSOLE_IO
16
16
Original file line number Diff line number Diff line change 7
7
#include "pycore_moduleobject.h" // _PyModule_GetState()
8
8
#include "pycore_parking_lot.h"
9
9
#include "pycore_time.h" // _PyTime_FromSecondsObject()
10
- #include "pycore_weakref.h"
10
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
11
11
12
12
#include <stdbool.h>
13
13
#include <stddef.h> // offsetof()
Original file line number Diff line number Diff line change 4
4
5
5
#include "blob.h"
6
6
#include "util.h"
7
- #include "pycore_weakref.h"
7
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
8
8
9
9
#define clinic_state () (pysqlite_get_state_by_type(Py_TYPE(self)))
10
10
#include "clinic/blob.c.h"
Original file line number Diff line number Diff line change 31
31
#include "util.h"
32
32
33
33
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
34
- #include "pycore_weakref.h"
34
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
35
35
36
36
typedef enum {
37
37
TYPE_LONG ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static const char copyright[] =
44
44
#include "pycore_long.h" // _PyLong_GetZero()
45
45
#include "pycore_moduleobject.h" // _PyModule_GetState()
46
46
#include "pycore_unicodeobject.h" // _PyUnicode_Copy
47
- #include "pycore_weakref.h"
47
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
48
48
49
49
#include "sre.h" // SRE_CODE
50
50
Original file line number Diff line number Diff line change 11
11
#include "pycore_bytesobject.h" // _PyBytesWriter
12
12
#include "pycore_long.h" // _PyLong_AsByteArray()
13
13
#include "pycore_moduleobject.h" // _PyModule_GetState()
14
- #include "pycore_weakref.h"
14
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
15
15
16
16
#include <stddef.h> // offsetof()
17
17
Original file line number Diff line number Diff line change 11
11
#include "pycore_pylifecycle.h"
12
12
#include "pycore_pystate.h" // _PyThreadState_SetCurrent()
13
13
#include "pycore_time.h" // _PyTime_FromSeconds()
14
- #include "pycore_weakref.h" // _PyWeakref_GET_REF()
14
+ #include "pycore_weakref.h" // _PyWeakref_GET_REF(), FT_CLEAR_WEAKREFS()
15
15
16
16
#include <stddef.h> // offsetof()
17
17
#ifdef HAVE_SIGNAL_H
Original file line number Diff line number Diff line change 7
7
#include "pycore_long.h" // _PyLong_GetOne()
8
8
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
9
9
#include "pycore_typeobject.h" // _PyType_GetModuleState()
10
- #include "pycore_weakref.h"
10
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
11
11
12
12
#include "datetime.h" // PyDateTime_TZInfo
13
13
Original file line number Diff line number Diff line change 13
13
#include "pycore_ceval.h" // _PyEval_GetBuiltin()
14
14
#include "pycore_modsupport.h" // _PyArg_NoKeywords()
15
15
#include "pycore_moduleobject.h" // _PyModule_GetState()
16
- #include "pycore_weakref.h"
16
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
17
17
18
18
#include <stddef.h> // offsetof()
19
19
#include <stdbool.h>
Original file line number Diff line number Diff line change 25
25
#include <Python.h>
26
26
#include "pycore_bytesobject.h" // _PyBytes_Find()
27
27
#include "pycore_fileutils.h" // _Py_stat_struct
28
- #include "pycore_weakref.h"
28
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
29
29
30
30
#include <stddef.h> // offsetof()
31
31
#ifndef MS_WINDOWS
Original file line number Diff line number Diff line change 17
17
#include "pycore_tuple.h" // _PyTuple_ITEMS()
18
18
#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal()
19
19
#include "pycore_uniqueid.h" // _PyObject_AssignUniqueId()
20
- #include "pycore_weakref.h"
20
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
21
21
22
22
#include "clinic/codeobject.c.h"
23
23
#include <stdbool.h>
Original file line number Diff line number Diff line change 10
10
#include "pycore_pyerrors.h" // _PyErr_Occurred()
11
11
#include "pycore_setobject.h" // _PySet_NextEntry()
12
12
#include "pycore_stats.h"
13
- #include "pycore_weakref.h"
13
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
14
14
15
15
16
16
static const char *
Original file line number Diff line number Diff line change 7
7
#include "pycore_typevarobject.h" // _Py_typing_type_repr
8
8
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
9
9
#include "pycore_unionobject.h" // _Py_union_type_or, _PyGenericAlias_Check
10
- #include "pycore_weakref.h"
10
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
11
11
12
12
13
13
#include <stdbool.h>
Original file line number Diff line number Diff line change 17
17
#include "pycore_pyerrors.h" // _PyErr_ClearExcState()
18
18
#include "pycore_pystate.h" // _PyThreadState_GET()
19
19
#include "pycore_warnings.h" // _PyErr_WarnUnawaitedCoroutine()
20
- #include "pycore_weakref.h"
20
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
21
21
22
22
23
23
#include "opcode_ids.h" // RESUME, etc
Original file line number Diff line number Diff line change 8
8
#include "pycore_object.h"
9
9
#include "pycore_pyerrors.h"
10
10
#include "pycore_pystate.h" // _PyThreadState_GET()
11
- #include "pycore_weakref.h"
11
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
12
12
13
13
14
14
/* undefine macro trampoline to PyCFunction_NewEx */
Original file line number Diff line number Diff line change 13
13
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
14
14
#include "pycore_pystate.h" // _PyInterpreterState_GET()
15
15
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
16
- #include "pycore_weakref.h"
16
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
17
17
18
18
#include "osdefs.h" // MAXPATHLEN
19
19
Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ Potential Optimizations
473
473
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
474
474
#include "pycore_tuple.h" // _PyTuple_Recycle()
475
475
#include <stddef.h> // offsetof()
476
- #include "pycore_weakref.h"
476
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
477
477
478
478
#include "clinic/odictobject.c.h"
479
479
Original file line number Diff line number Diff line change 1
1
/* PickleBuffer object implementation */
2
2
3
3
#include "Python.h"
4
- #include "pycore_weakref.h"
4
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
5
5
#include <stddef.h>
6
6
7
7
typedef struct {
Original file line number Diff line number Diff line change 40
40
#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_LOAD_SSIZE_RELAXED()
41
41
#include "pycore_pyerrors.h" // _PyErr_SetKeyError()
42
42
#include "pycore_setobject.h" // _PySet_NextEntry() definition
43
- #include "pycore_weakref.h"
43
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
44
44
45
45
#include "stringlib/eq.h" // unicode_eq()
46
46
#include <stddef.h> // offsetof()
Original file line number Diff line number Diff line change 4
4
#include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_typing_type_repr
5
5
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString
6
6
#include "pycore_unionobject.h"
7
- #include "pycore_weakref.h"
7
+ #include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
8
8
9
9
10
10
typedef struct {
You can’t perform that action at this time.
0 commit comments