Skip to content

Commit 29a1a6e

Browse files
authored
gh-124191: Disable -Wconversion in enable safety (gh-124192)
1 parent d8c0fe1 commit 29a1a6e

File tree

4 files changed

+5
-514
lines changed

4 files changed

+5
-514
lines changed

Diff for: Tools/build/.warningignore_macos

+4-223
Original file line numberDiff line numberDiff line change
@@ -3,226 +3,7 @@
33
# Keep lines sorted lexicographically to help avoid merge conflicts.
44
# Format example:
55
# /path/to/file (number of warnings in file)
6-
Include/internal/mimalloc/mimalloc/internal.h 4
7-
Include/internal/pycore_backoff.h 1
8-
Include/internal/pycore_dict.h 2
9-
Modules/_asynciomodule.c 3
10-
Modules/_bisectmodule.c 2
11-
Modules/_bz2module.c 5
12-
Modules/_collectionsmodule.c 2
13-
Modules/_csv.c 3
14-
Modules/_ctypes/_ctypes.c 37
15-
Modules/_ctypes/_ctypes_test_generated.c.h 141
16-
Modules/_ctypes/callbacks.c 6
17-
Modules/_ctypes/callproc.c 15
18-
Modules/_ctypes/cfield.c 56
19-
Modules/_ctypes/malloc_closure.c 3
20-
Modules/_ctypes/stgdict.c 17
21-
Modules/_cursesmodule.c 24
22-
Modules/_datetimemodule.c 28
23-
Modules/_dbmmodule.c 8
24-
Modules/_decimal/_decimal.c 15
25-
Modules/_elementtree.c 42
26-
Modules/_functoolsmodule.c 6
27-
Modules/_gdbmmodule.c 5
28-
Modules/_hacl/Hacl_Hash_Blake2b_Simd256.c 84
29-
Modules/_hacl/Hacl_Hash_Blake2s_Simd128.c 84
30-
Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h 24
31-
Modules/_hashopenssl.c 16
32-
Modules/_interpchannelsmodule.c 1
33-
Modules/_interpqueuesmodule.c 1
34-
Modules/_io/_iomodule.c 1
35-
Modules/_io/bufferedio.c 4
36-
Modules/_io/bytesio.c 11
37-
Modules/_io/fileio.c 9
38-
Modules/_io/stringio.c 8
39-
Modules/_io/textio.c 11
40-
Modules/_json.c 19
41-
Modules/_localemodule.c 3
42-
Modules/_lzmamodule.c 10
43-
Modules/_multiprocessing/semaphore.c 2
44-
Modules/_operator.c 5
45-
Modules/_pickle.c 71
46-
Modules/_posixsubprocess.c 8
47-
Modules/_queuemodule.c 4
48-
Modules/_randommodule.c 3
49-
Modules/_scproxy.c 3
50-
Modules/_sqlite/connection.c 4
51-
Modules/_sqlite/cursor.c 3
52-
Modules/_sqlite/module.c 2
53-
Modules/_sre/sre.c 18
54-
Modules/_sre/sre_lib.h 62
55-
Modules/_ssl.c 29
56-
Modules/_struct.c 1
57-
Modules/_testbuffer.c 22
58-
Modules/_testcapi/heaptype.c 1
59-
Modules/_testcapi/long.c 2
60-
Modules/_testcapi/mem.c 2
61-
Modules/_testcapi/monitoring.c 3
62-
Modules/_testcapi/pyatomic.c 1
63-
Modules/_testcapi/unicode.c 2
64-
Modules/_testcapi/vectorcall.c 3
65-
Modules/_testcapi/watchers.c 3
66-
Modules/_testcapimodule.c 3
67-
Modules/_testclinic.c 14
68-
Modules/_testexternalinspection.c 7
69-
Modules/_testinternalcapi.c 8
70-
Modules/_testinternalcapi/pytime.c 8
71-
Modules/_testinternalcapi/test_critical_sections.c 1
72-
Modules/_testinternalcapi/test_lock.c 2
73-
Modules/_testlimitedcapi/heaptype_relative.c 4
74-
Modules/_testlimitedcapi/object.c 2
75-
Modules/_testlimitedcapi/unicode.c 2
76-
Modules/_threadmodule.c 2
77-
Modules/_tkinter.c 6
78-
Modules/_xxtestfuzz/_xxtestfuzz.c 1
79-
Modules/_xxtestfuzz/fuzzer.c 11
80-
Modules/_zoneinfo.c 14
81-
Modules/arraymodule.c 32
82-
Modules/atexitmodule.c 1
83-
Modules/binascii.c 206
84-
Modules/blake2module.c 6
85-
Modules/cjkcodecs/_codecs_cn.c 1
86-
Modules/cjkcodecs/_codecs_iso2022.c 2
87-
Modules/cjkcodecs/_codecs_jp.c 14
88-
Modules/cjkcodecs/_codecs_kr.c 3
89-
Modules/cjkcodecs/cjkcodecs.h 1
90-
Modules/cjkcodecs/multibytecodec.c 2
91-
Modules/clinic/_testclinic.c.h 1
92-
Modules/clinic/arraymodule.c.h 1
93-
Modules/clinic/unicodedata.c.h 10
94-
Modules/cmathmodule.c 1
95-
Modules/expat/siphash.h 8
96-
Modules/expat/xmlparse.c 45
97-
Modules/expat/xmltok.c 17
98-
Modules/expat/xmltok_impl.c 34
99-
Modules/faulthandler.c 3
100-
Modules/fcntlmodule.c 1
101-
Modules/getpath.c 7
102-
Modules/grpmodule.c 4
103-
Modules/itertoolsmodule.c 7
104-
Modules/main.c 2
105-
Modules/mathmodule.c 15
106-
Modules/mmapmodule.c 20
107-
Modules/posixmodule.c 67
108-
Modules/pwdmodule.c 4
109-
Modules/pyexpat.c 20
110-
Modules/readline.c 1
111-
Modules/resource.c 3
112-
Modules/rotatingtree.c 1
113-
Modules/selectmodule.c 6
114-
Modules/sha3module.c 4
115-
Modules/signalmodule.c 1
116-
Modules/socketmodule.c 44
117-
Modules/syslogmodule.c 3
118-
Modules/timemodule.c 4
119-
Modules/unicodedata.c 28
120-
Modules/unicodedata_db.h 1
121-
Modules/xxsubtype.c 2
122-
Modules/zlibmodule.c 16
123-
Objects/abstract.c 2
124-
Objects/bytearrayobject.c 34
125-
Objects/bytes_methods.c 9
126-
Objects/bytesobject.c 35
127-
Objects/call.c 13
128-
Objects/classobject.c 4
129-
Objects/codeobject.c 15
130-
Objects/descrobject.c 2
131-
Objects/dictobject.c 28
132-
Objects/fileobject.c 3
133-
Objects/floatobject.c 30
134-
Objects/frameobject.c 19
135-
Objects/funcobject.c 1
136-
Objects/genobject.c 5
137-
Objects/listobject.c 43
138-
Objects/longobject.c 46
139-
Objects/memoryobject.c 6
140-
Objects/methodobject.c 1
141-
Objects/mimalloc/alloc.c 6
142-
Objects/mimalloc/arena.c 6
143-
Objects/mimalloc/heap.c 1
144-
Objects/mimalloc/init.c 2
145-
Objects/mimalloc/options.c 1
146-
Objects/mimalloc/os.c 4
147-
Objects/mimalloc/page-queue.c 2
148-
Objects/mimalloc/page.c 1
149-
Objects/mimalloc/prim/osx/../unix/prim.c 2
150-
Objects/mimalloc/random.c 1
151-
Objects/mimalloc/segment.c 11
152-
Objects/mimalloc/stats.c 1
153-
Objects/moduleobject.c 2
154-
Objects/object.c 1
155-
Objects/obmalloc.c 6
156-
Objects/odictobject.c 3
157-
Objects/rangeobject.c 10
158-
Objects/setobject.c 13
159-
Objects/sliceobject.c 4
160-
Objects/stringlib/codecs.h 26
161-
Objects/stringlib/eq.h 1
162-
Objects/stringlib/fastsearch.h 14
163-
Objects/stringlib/join.h 1
164-
Objects/stringlib/replace.h 4
165-
Objects/stringlib/repr.h 21
166-
Objects/stringlib/transmogrify.h 5
167-
Objects/structseq.c 14
168-
Objects/tupleobject.c 10
169-
Objects/typeobject.c 17
170-
Objects/unicodectype.c 7
171-
Objects/unicodeobject.c 113
172-
Parser/action_helpers.c 4
173-
Parser/lexer/buffer.c 1
174-
Parser/lexer/lexer.c 12
175-
Parser/parser.c 116
176-
Parser/string_parser.c 7
177-
Parser/tokenizer/file_tokenizer.c 8
178-
Parser/tokenizer/helpers.c 7
179-
Parser/tokenizer/readline_tokenizer.c 3
180-
Programs/_freeze_module.c 1
181-
Python/Python-ast.c 15
182-
Python/asdl.c 3
183-
Python/assemble.c 7
184-
Python/ast_opt.c 7
185-
Python/bltinmodule.c 9
186-
Python/bootstrap_hash.c 4
187-
Python/ceval.c 8
188-
Python/ceval_gil.c 2
189-
Python/codecs.c 32
190-
Python/codegen.c 6
191-
Python/compile.c 2
192-
Python/context.c 1
193-
Python/crossinterp.c 2
194-
Python/crossinterp_data_lookup.h 1
195-
Python/dtoa.c 34
196-
Python/errors.c 1
197-
Python/fileutils.c 7
198-
Python/flowgraph.c 8
199-
Python/formatter_unicode.c 7
200-
Python/frame.c 4
201-
Python/gc.c 7
202-
Python/generated_cases.c.h 35
203-
Python/getargs.c 11
204-
Python/import.c 5
205-
Python/initconfig.c 11
206-
Python/instrumentation.c 31
207-
Python/intrinsics.c 1
208-
Python/legacy_tracing.c 3
209-
Python/lock.c 4
210-
Python/marshal.c 11
211-
Python/modsupport.c 3
212-
Python/mystrtoul.c 4
213-
Python/pathconfig.c 1
214-
Python/preconfig.c 2
215-
Python/pyarena.c 1
216-
Python/pyhash.c 2
217-
Python/pylifecycle.c 7
218-
Python/pystate.c 6
219-
Python/pystrhex.c 19
220-
Python/pystrtod.c 3
221-
Python/qsbr.c 2
222-
Python/specialize.c 10
223-
Python/suggestions.c 12
224-
Python/symtable.c 18
225-
Python/sysmodule.c 2
226-
Python/thread_pthread.h 1
227-
Python/traceback.c 6
228-
Python/tracemalloc.c 6
6+
Modules/expat/siphash.h 7
7+
Modules/expat/xmlparse.c 8
8+
Modules/expat/xmltok.c 3
9+
Modules/expat/xmltok_impl.c 26

0 commit comments

Comments
 (0)