Skip to content

Commit ac76682

Browse files
Disable specialization
1 parent d51cc01 commit ac76682

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Include/internal/pycore_code.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -292,17 +292,8 @@ extern int _PyCode_SafeAddr2Line(PyCodeObject *co, int addr);
292292
extern void _PyCode_Clear_Executors(PyCodeObject *code);
293293

294294

295-
#ifdef Py_GIL_DISABLED
296-
// gh-115999 tracks progress on addressing this.
297295
#define ENABLE_SPECIALIZATION 0
298-
// Use this to enable specialization families once they are thread-safe. All
299-
// uses will be replaced with ENABLE_SPECIALIZATION once all families are
300-
// thread-safe.
301-
#define ENABLE_SPECIALIZATION_FT 1
302-
#else
303-
#define ENABLE_SPECIALIZATION 1
304296
#define ENABLE_SPECIALIZATION_FT ENABLE_SPECIALIZATION
305-
#endif
306297

307298
/* Specialization functions, these are exported only for other re-generated
308299
* interpreters to call */

0 commit comments

Comments
 (0)