← 返回事件
持续讨论AI发版3.14

trunk/fcebff2edcedc4a973b6124659b9b7932db725ad: Fix the version gate on the free-threaded profiler warning (#194697)

发生了什么

IS_PYTHON_3_14_PLUS is always defined (as PY_VERSION_HEX >= 0x030E0000 ), so !defined(IS_PYTHON_3_14_PLUS) was always false and the warning never fired on 3.13t. Introduced in #178551 , which almost certainly meant to check the macro's boolean value, not whether it's defined. Fix uses the macro's value instead. Test plan: compiled a probe with the guard against free-threaded 3.14 headers; old form is unreachable on…

摘要按规则整理自下方来源原文

为什么在扩散

来源