cpython/Include/cpython
Serhiy Storchaka 92f7965cf6
[3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140119)
Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6bede)
2025-10-14 15:46:11 +00:00
..
abstract.h
bytearrayobject.h
bytesobject.h
cellobject.h
ceval.h
classobject.h
code.h [3.13] GH-127953: Make line number lookup O(1) regardless of the size of the code object (#129127) 2025-04-07 20:15:02 +02:00
compile.h
complexobject.h
context.h
critical_section.h
descrobject.h
dictobject.h
fileobject.h
fileutils.h
floatobject.h
frameobject.h
funcobject.h
genobject.h
import.h
initconfig.h [3.13] gh-130940: Remove PyConfig.use_system_logger (#131129) 2025-03-13 11:53:11 +08:00
listobject.h
lock.h [3.13] gh-136759: revert rename lock.h to pylock.h (GH-137041) (#137075) (#137166) 2025-07-28 12:19:32 +00:00
longintrepr.h
longobject.h
memoryobject.h
methodobject.h
modsupport.h
monitoring.h
object.h
objimpl.h
odictobject.h
picklebufobject.h
pthread_stubs.h
pyatomic.h [3.13] gh-129296: Fix pyatomic.h include paths (GH-129320) (#130667) 2025-02-28 08:22:15 +00:00
pyatomic_gcc.h
pyatomic_msc.h
pyatomic_std.h
pyctype.h
pydebug.h
pyerrors.h
pyfpe.h
pyframe.h
pyhash.h
pylifecycle.h
pymem.h
pystate.h
pystats.h [3.13] gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL_STAT_INC (GH-127717) (#128713) 2025-01-18 19:00:46 +02:00
pythonrun.h
pythread.h [3.13] gh-129296: Fix pyatomic.h include paths (GH-129320) (#130667) 2025-02-28 08:22:15 +00:00
pytime.h
setobject.h
sysmodule.h
traceback.h
tracemalloc.h [3.13] Add extern "C" around PyTraceMalloc_ functions. (GH-127772) (#127815) 2024-12-11 14:07:44 +01:00
tupleobject.h
unicodeobject.h
warnings.h [3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140119) 2025-10-14 15:46:11 +00:00
weakrefobject.h