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 [3.13] gh-121489: Export private _PyBytes_Join() again (GH-122267) (#122287) 2024-07-25 16:06:31 +00:00
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 gh-117411: move PyFutureFeatures to pycore_symtable.h and make it private (#117412) 2024-04-02 10:34:49 +00:00
complexobject.h
context.h
critical_section.h [3.13] gh-119344: Make critical section API public (GH-119353) (#120856) 2024-06-21 20:20:41 +00:00
descrobject.h
dictobject.h gh-117657: Fixes a few small TSAN issues in dictobject (#118200) 2024-04-25 08:53:29 -07:00
fileobject.h
fileutils.h
floatobject.h
frameobject.h gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
funcobject.h gh-118207: Rename the COMMON_FIELDS macro in funcobject.h and undef it after use (GH-118208) 2024-04-25 08:49:15 +02:00
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 gh-112087: Make list_repr and list_length to be thread-safe (gh-114582) 2024-01-27 01:20:21 +09:00
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 gh-116869: Make C API compatible with ISO C90 (#116950) 2024-03-18 20:16:58 +01:00
longobject.h gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118) 2024-06-28 15:52:26 +00:00
memoryobject.h
methodobject.h
modsupport.h [3.13] gh-112136: Restore removed _PyArg_Parser (GH-121262) (#121344) 2024-07-03 18:29:00 +00:00
monitoring.h [3.13] gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (GH-119216) (#119497) 2024-05-24 10:18:13 +00:00
object.h [3.13] gh-118789: Add PyUnstable_Object_ClearWeakRefsNoCallbacks (GH-118807) (#120695) 2024-06-18 14:54:51 +00:00
objimpl.h gh-102013: Move PyUnstable_GC_VisitObjects() to Include/cpython/objimpl.h (#115560) 2024-02-16 15:49:13 +01:00
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 [3.13] gh-121368: Fix seq lock memory ordering in _PyType_Lookup (GH-121388) (#121505) 2024-07-08 19:15:58 +00:00
pyatomic_msc.h [3.13] gh-121368: Fix seq lock memory ordering in _PyType_Lookup (GH-121388) (#121505) 2024-07-08 19:15:58 +00:00
pyatomic_std.h [3.13] gh-121368: Fix seq lock memory ordering in _PyType_Lookup (GH-121388) (#121505) 2024-07-08 19:15:58 +00:00
pyctype.h
pydebug.h
pyerrors.h [3.13] gh-89364: Export PySignal_SetWakeupFd() function (GH-121537) (#121582) 2024-07-10 14:14:09 +00:00
pyfpe.h
pyframe.h gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
pyhash.h [3.13] gh-111389: Add PyHASH_MULTIPLIER constant (GH-119214) (#119334) 2024-06-04 09:26:25 +02:00
pylifecycle.h gh-117649: Raise ImportError for unsupported modules in free-threaded build (#117651) 2024-04-11 15:00:54 -04:00
pymem.h
pystate.h [3.13] gh-120973: Fix thread-safety issues with threading.local (GH-121655) (#122042) 2024-07-19 17:49:34 +00:00
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 gh-110850: Add PyTime_TimeRaw() function (#118394) 2024-05-01 18:05:01 +00:00
setobject.h gh-112069: Make PySet_GET_SIZE to be atomic safe. (gh-118053) 2024-04-19 06:40:28 +09:00
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 [3.13] gh-117511: Make PyMutex public in the non-limited API (GH-117731) (#120800) 2024-06-20 16:00:25 +00:00